jzee123 Posted March 5, 2004 Posted March 5, 2004 I'd like to set the Quick Find search that is an info box to search like the search box on advanced search page when the search in product desription option is selected. Right now the search in the info box in the column only searches through product titles, i'd like to also search through product descriptions. Does anyone know how to do this? Or is there a reason why this wouldnt be a good idea?
paulm2003 Posted March 5, 2004 Posted March 5, 2004 Does anyone know how to do this?Or is there a reason why this wouldnt be a good idea? It's a very good idea! It's very weird that the default search only searches products titles. But that's the default indeed. There is a simple search enhancement at the contributions, I don't remember which. I think this code might help: $boxContent .= tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" ') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH); Take a look at "includes/boxes/search.php"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.