Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Item Quick Search


jhande

Recommended Posts

Sorry if this has been covered already but I couldn't find it. :blush:

 

When someone types in the Item Quick Search box, I would like it to search in the product descriptions as well as in the product names.

 

If I knew a little more about PHP I probably wouldn't be making such a mess with all my trial & errors. :wacko:

 

I figured all that needed to be done was take this code (altered of course) from catalog > advanced_search.php

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

 

and add it to catalog > includes > boxes > search.php.

 

But so far no matter how I altered the code or where I placed it, I just keep making a mess of things. :(

 

Any help would be greatly appreciated! :)

 

P.S. I'm not looking for away to add the check box, just automatically search through the descriptions behind the scenes so-to-speak.

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Link to comment
Share on other sites

Thanks so much!

 

I don't know why I never thought to look in the contributions for this little mod. :blush:

 

Guess after 50 hours of no sleep it's time I give everything a break. :o

 

Thank you again and sorry for waisting everyones time [hangs head in embarassment]

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...