Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

make radio boxed checked by default


focusdriver114

Recommended Posts

Hello Eric

 

I seen your website, there would have to be coding to do that.

 

I suggest looking at the coding that is for Include Subcategories

 

as it has the coding you want to use for the search.

 

hope this helps.

Link to comment
Share on other sites

Change: (around line 164 in advanced_search.php)

$info_box_contents[] = array('align' => 'right', 'text' => tep_draw_checkbox_field('search_in_description', '1') . ' ' . TEXT_SEARCH_IN_DESCRIPTION);

To:

$info_box_contents[] = array('align' => 'right', 'text' => tep_draw_checkbox_field('search_in_description', '1', true) . ' ' . TEXT_SEARCH_IN_DESCRIPTION);

 

HTH

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...