View Single Post
  #222  
Old 09-19-2006, 12:15 PM
  sushob's Avatar 
sushob sushob is offline
 

Member
  
Join Date: Aug 2006
Posts: 19
 

Default Re: Improved Search Function

Quote:
Originally Posted by intel352
good luck, let us know how it goes

Quick and painless!
Quote:
Originally Posted by X-Cart
The simple search feature is not broken. By default, the simple search equals the advanced one with the following settings:

Search for pattern -> Exact phrase
Search in -> Product title, Short description, Detailed description
Advanced search options -> Empty

If you want to search for all words in the simple mode, you should modify the '<xcart_dir>/skin1/customer/search.tpl' template (for example, via the "Administration/Edit templates" section of the store admin area) in the way as shown below:

insert the next line:

<input type="hidden" name="posted_data[including]" value="all" />

after the following one:

<input type="hidden" name="posted_data[by_fulldescr]" value="Y" />

Worked like a charm!

I also re-applied the mod to search by SKU, and disabled short and full descriptions, in the simple search box. This seems to work best with my title format.

I guess 25 support points is about as cheap as it gets for a nice search feature.
__________________
Nate
www.sushob.com (live)
X-Cart Gold 4.1.3 ~ Linux
Reply With Quote