Search code examples
searchmagento-1.7

Magento search always return the same products


My magento (1.7) search always returns the same 15 products, whatever I search for.

This is obviously an index / cache issue, so I am looking for answers about how to debug where the search results are coming from.

I have rm -rf var/cache and disabled the cache, and re-indexed everything.


Solution

  • This answer: https://stackoverflow.com/a/11413620/347180 fixes the problem.

    In my local.xml I had:

    <remove name="catalogsearch.leftnav" />
    

    Which is required for the search functionality.