pmakulski Posted November 16, 2007 Posted November 16, 2007 I would like to have my quick find always search in product descriptions. By default the quick find looks in Product Names only. The advanced search has the option, and when it is checked, the generated URL looks like this: advanced_search_result.php?keywords=Bob&search_in_description=1 The quick find URL looks like this: advanced_search_result.php?keywords=Bob I've looked in search.php but I can't figure out where the URL phrase is generated.
pmakulski Posted November 21, 2007 Author Posted November 21, 2007 OK, never mind. Figured it out myself. FYI: in includes\boxes\search.php add this to the 'text' => 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . tep_draw_checkbox_field('search_in_description', '1') in includes\languages\english.php define('BOX_SEARCH_TEXT', 'Search in Titles and Authors.<br>Check the box to search in Descriptions too.'); See it in action: store.tac-rscds.org
pmakulski Posted November 21, 2007 Author Posted November 21, 2007 OK, why are those Code boxes so huge ?? :(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.