Question

I have to some change in magento catalog search result. I have to exclude specific category Id in catalog search result. I had tried in many way but not getting proper result. Please help me asap.

Thank you in advanced !!

Was it helpful?

Solution

For each product there is an attribute called Visibility with 4 different values:

  1. Not visible individually - this means the products will not appear in the catalog
  2. Catalog - the product will appear only when browsing the catalog
  3. Search - the product will appear only in search results
  4. Catalog & Search - the product will appear in search result and while browsing the catalog

In conclusion, if you set the visibility of the products in your specific category to Catalog they won't appear on search results.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top