| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Search box with dropdown | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Search box with dropdown
Hi there,
I am looking to see whether I can put in a dropdown box from the default search box containing pre-selected searches on the homepage? Basically customers can then either enter free text for a search or choose from a specific search which I have chosen via the dropdown... Any help would be appreciated, thanks. |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Search box with dropdown
The template file responsible for the search box is customer/search.tpl template file:
Code:
In red color is the code for the display of the input text control. I guess you could replace the text type input with a select input (or add beside it so you could have both a text input and a drop-down input), something like: Code:
I hope, it works out for you...
__________________
Vasilis Vrod. X-Cart Development, Maintenance & Customization www.craftforweb.com vasilis@craftforweb.com |
|||||||||
#3
|
|||||||
|
|||||||
Re: Search box with dropdown
Hi,
Thanks a lot for the reply. That looks like just the ticket. I will be implementing this soon. Regards. |
|||||||
|
|||
X-Cart forums © 2001-2020
|