I have attempted for quite a number of hours to solve this but I can't find the solution.
I want to allow users to search by certain attribute values, for example ingredients, brand OR product name. At the moment I can pass to the query string the type of search we are performing, e.g.
I have tried to modify the controllers and helpers in
catalogsearch so I can pass this variable on and search for that filter, but I just can't figure out a way to do it.
I would still like to search by name too, so there will need to be a switch e.g.
Would need to search product name still.
Any tips for accomplishing this? I've been editing
for hours without any real progress.