Our configurable product's visibility is set as catalogue/search and the associated simple products are marked as not visible individually which is all good.
Now, the website offers standard search along with advanced search.
What we want to achieve is:
- On standard Magento search, for a matching search query, return configurable products only (achieved already by setting configurable product visibility to catalogue,search)
- On advanced search i.e. example.com/catalogsearch/advanced/, we need to hide the matching configurable products AND only show the matching associated simple products (mind it the simple products are set as 'not visible individually' already)
So my question is, what is the best way to achieve this? I reckon the search module uses the same result collection to render results so I'm a bit stuck at this point.
Any help is highly appreciated.