I have a custom requirement where I need to change the catalog search results.
What I need to do is to show the products based on attribute as well as category
For example if you search attribute pink
, it will list down all the products on search page having the attribute pink
assigned to them
Similarly, if a product is only assigned to category X
and when you search X
, it will list down all the products with category X
assigned.
Do I need to change the Catalogsearch Model ?
How can I achieve this ?
Please Help.
Thanks.