Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick Find search to advance search in prod descr


jzee123

Recommended Posts

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?

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...