Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Searching within descriptions of products


catech

Recommended Posts

Hi,

 

I want the basic search box to search within descriptions. Is this possible, and if so how would I do it?

 

James

 

I would also like to be able to do this. I am sure it must be a fairly simple mod.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

I would also like to be able to do this. I am sure it must be a fairly simple mod.

 

 

you add the hidden field which triggers that to the form on that infobox:

 

echo tep_draw_hidden_field('search_in_description','1');

Treasurer MFC

Link to comment
Share on other sites

you add the hidden field which triggers that to the form on that infobox:

 

echo tep_draw_hidden_field('search_in_description','1');

 

Is this added to the catalog/includes/search.php file?

 

Thanks in advance.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Link to comment
Share on other sites

Is this added to the catalog/includes/search.php file?

 

Thanks in advance.

 

no, to catalog/includes/boxes/search.php

 

 

find:

 

tep_hide_session_id()

 

 

replace with:

 

tep_hide_session_id() . tep_draw_hidden_field('search_in_description','1')

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...