Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need to modify advanced_seach.php page....


Enzo_UK

Recommended Posts

Does anyone know how I can make it the default to 'Seach In Product Descriptions'?

 

Either to do away with the check box completely, and then make it so it allways does it...

 

Or to have it so that the box is checked as default, and you can un-check it if you want to.

 

Cheers in advance.

Andrew

Link to comment
Share on other sites

Does anyone know how I can make it the default to 'Seach In Product Descriptions'?

 

Either to do away with the check box completely, and then make it so it allways does it...

 

Or to have it so that the box is checked as default, and you can un-check it if you want to.

 

Cheers in advance.

Andrew

 

change this :

 

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

 

to this :

 

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

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...