![]() |
How to add category dropdown beside search box?
i want to add a dropdown menu for categories beside search box on my homepage to filter search based on categories. Pls help.
|
Re: How to add category dropdown beside search box?
skin/common_files/customer/search.tpl
After... Code:
<span class="search">{$lng.lbl_search}:</span> Code:
<select name="posted_data[categoryid]"> |
Re: How to add category dropdown beside search box?
above code worked like a charm in regular old 3column skin.
Im using smarty template for 4.4.2.Unable to get the result. Pls suggest me of how to use this code for smarty template.:D/ |
Re: How to add category dropdown beside search box?
Hi,
Works perfectly in my site.. Thanks Phil |
Re: How to add category dropdown beside search box?
I placed this in sidebar and It works great.
Is there a way to add Manufacturers dropdown select to it as well? I tried by copying manufacturers code from search_result.tpl but it only works on category pages and search results, on other pages it displays empty list . Here is the code : PHP Code:
I also tried to clone this category code to use manufacturers but nothing shows up here is the second code: PHP Code:
Am I missing something? Anyone has a working code to display manufacturers and categories by the search box? Thanks for your help. |
Re: How to add category dropdown beside search box?
Run /cleanup.php ? or un-tick 'cache the menu' in Flyout menu module
|
All times are GMT -8. The time now is 07:22 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.