darthdeus Posted July 23, 2012 Share Posted July 23, 2012 Is there any way I can make the quick search block module search only product names and not their codes? It gives very inaccurate results for products that have numbers in their name, such as mobile phones, as most of them will match a product code. Link to comment Share on other sites More sharing options...
tomerg3 Posted July 24, 2012 Share Posted July 24, 2012 First, not specifying your PS version makes it harder to give you an exact example. You can try to change the weight each search section gets (in the backoffice). To completely remove all the other fields (which will speed up both indexing and searching), you will have to edit (or create an override) for indexation() in Search.php class. There is a main query that selects all the fields from the product page, you can remove the ones you do not want included in the index, and lower down you can also remove features, attributes and tags. Link to comment Share on other sites More sharing options...
Recommended Posts