Community Add-Ons

Add file to this package
Top » Features

Search Enhancements
for osCommerce Online Merchant v2.2

Search Enhancements - For MS1 and later

1) Automatic logging of all search terms used on your site.

2) Processing of logged search terms into total counts, with sorting by totals or by name.

3) Admin page provides a Google type facility whereby you can add words or phrases and their suggested replacements to a database table, once you've added data to this table if for example a customer searches for 'wheal' a line is added to the top of the search results page saying: 'you could also try: wheel'. This line is a clickable link that automatically re-searches on the replacement words. For this feature to work you must have made an entry via the admin page for the particular word/phrase used as well as the suggested replacement, obviously this data will take a little time to build up, this is the reason for the keyword logging, so as you can periodically check to see what needs adding to the replacements table.

4) Words/phrases and their suggested replacements can be added/edited/deleted at any time via the admin section.

5) Improved layout of Search results page if no results are found, providing the user with some tips on better searching.

6) Complete admin section to view and process logged search results.

7) When searching, any keywords entered as a plural will automatically have the final 's' stripped from the keyword, this should help if you have your products named/described in the singular form. A benefit of this is that even if there *should* be an 's' on the end of the keyword the correct results will be brought up due to the in-built partial matching of the osC search facility.

Legend:  Download   Report
Expand All / Collapse All
Search Unenhancements Tristan Young 26 Nov 2008  

Search Unenhancements

There are times when tracking search keywords is undesireable.

Rather than replacing the file:
'/catalog/advanced_search_result.php'

Rename it to:
'/catalog/advanced_search_result_notally.php' and reference it instead.

This is great if you want to embed into a product description a pre-composed search link for other products in a series, or email a pre-composed search link in an email to a client , and don't want the pre-composed search to count in the totals.

Example:
<a href="http://your.website.here/catalog/advanced_search_result.php?keywords=search_term+another_search_term&x=0&y=0" title="Search for other items in the same series">Check out other models in the same series.</a>

Since I employ a standard for naming products, I can search for specific unique phrases, such as "Tele Vue Ethos" without worry of other un-related products appearing in the listing. To do this, simply separate search words with a plus sign, as in my example.

Perhaps some day I'll generate an add-on to make creating these pre-composed search links easier to author. There is probably a contribution that presents related or similar products to visitors, but this was quick-and-dirty.

Thanks to everyone involved in Search Enhancements. I think it's one of the best add-ons, and should be incorporated into the next version.

Admin fix for search strings with quotes bruyndoncx 15 Nov 2008  
fix for checkbox tazmane 13 Jun 2007  
Search Enhancements 1.1b homewetbar 6 Jun 2006  
Search Enhancements v1.1a homewetbar 6 Jun 2006  
Search Enhancements v1.1 homewetbar 6 Jun 2006  
Search Enhancement V1.0 MS2 Jakob Høy Biegel 23 Sep 2003  
Search Enhancements V1 MS2 Jakob Biegel 22 Sep 2003  
Search Enhancements Paul Whiter 28 May 2003