Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

search descriptions?


Guest

Recommended Posts

Posted

hi,

 

Can I make the search that appears on each page (the none-advanced search)

by default search descriptions rather than having to go into advance search?

if so how?

 

Thank you for your help. :unsure:

Posted

Try this

 

on

advanced_search_result.php

 

put this near the top of the page

 

---- START CODE

 

$HTTP_GET_VARS['search_in_description'] = '1';

 

 

---- END CODE

 

 

it uses this variable to decide if it searches in descriptions. so if you set it to 1 everytime it loads the page, it should always search through descriptions also.

always here to offer some useless advice....

Archived

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

×
×
  • Create New...