View Single Post
  #2  
Old 10-03-2006, 04:05 PM
  mcitde's Avatar 
mcitde mcitde is offline
 

Advanced Member
  
Join Date: Apr 2006
Posts: 61
 

Default Re: Search feature - How to enable these check boxes by default?

Hi Tuan,
you can do very easy by modifying the skin1/customer/main/search_result.tpl.
Look for
Code:
<input type="checkbox" id="WHAT_EVER_IT_IS" name="WHAT_EVER_IT_IS"{if $search_prefilled eq "" or $search_prefilled.by_sku} checked="checked"{/if} />
and just delete the smarty Vriables around checked="checked". Then it should look like this ->
Code:
<input type="checkbox" id="WHAT_EVER_IT_IS" name="WHAT_EVER_IT_IS" checked="checked" />

Thats it.
__________________
v 4.1.8 and v 4.1.9
WIN XP: Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45
UNIX: Apache 1.3, PHP 4.4.4, MySQL 5.0.22
Reply With Quote