You would have to do an override of SearchController.php
There is a docu: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingacontroller
Question
I have a prestashop website and I am having the following issue.
My free prestashop search module (by default) it searches and displays results from every category at the same time : I have the following categories near the search bar
I want to customize the search so when i click(and select) food , the display results both in ajax search and main query search to be only from the food category and not from Drinks or Deserts.
And I want to keep all categories search through all the categories bellow !
Might anybody give me some clues on how to do that ?
Thank you !
Solution
You would have to do an override of SearchController.php
There is a docu: http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingacontroller