![]()  | 
	
	
		
 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.  | 
	
		
 Re: Search box with dropdown 
		
		
		
		The template file responsible for the search box is  customer/search.tpl template file: 
	Code: 
	<div class="search">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: 
	<select name="posted_data[substring]" class="text{if not $search_prefilled.substring} default-value{/if}" value="{$search_prefilled.substring|default:$lng.lbl_search|escape}" />I hope, it works out for you...  | 
	
		
 Re: Search box with dropdown 
		
		
		
		Hi, 
	Thanks a lot for the reply. That looks like just the ticket. I will be implementing this soon.:D Regards.  | 
| All times are GMT -8. The time now is 06:49 PM. | 
	Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.