News:

Looking for documentation? Take a look on our wiki

Main Menu

how to add filter on search result page?

Started by Salman17, June 19, 2013, 09:42:15 AM

Previous topic - Next topic

Salman17

How to assign(display/view) specific module to virtuemart search result page only?

I want to assign Custom Filter to only on search result page

balai

1. Create a menu item for a VM category page. Better this to be hidden in your shop.
2. Open the layout of the search module: modules\mod_virtuemart_search\tmpl\default.php
or the used layout file in case of template overrides

At the end of the file before </form> add:
<input type="hidden" name="Itemid" value="YOUR_VALUE" /> 

*YOUR_VALUE -> The item id of the category menu item you have created

Now your search results will be always displayed in that category menu item