Knowledgebase

How to set the search function to search only through product names and not through descriptions in Magento

By default, when a customer uses the search function to find a product on your site not only product names are search for the word/phrase but also the short and detailed descriptions of products. If you want to disable the search function for product descriptions, you can do that by editing the settings of the attributes for the short and detailed description.

To do this in the admin panel of your Magento go to Catalog>Attributes>Manage Attributes. In the table on the following page find the description attribute and click on its name. On the page with its settings set the Use in Quick Search drop-down menu to No. If you want to disable it also in the advanced search, set the drop-down menu Use in Advanced Search to No. Then click on the Save Attribute button. Repeat the same steps for the short description attribute.

After that go to System>Index Management and reindex the data. Then go to the frontend of your site and test the results.

Was this answer helpful?

 Print this Article

Also Read