Extension - Improved Search Pro

Extension Filter

Search

Categories

License

Version

Currency

Improved Search Pro

Improved Search Pro
Admin Settings Advanced Admin Settings Basic
Extension Name Improved Search Pro Rating 1 2 3 4 5
License Commercial Votes 3
Price $10.00 Views 3389
Developer dannyhenderson Sales 19
Date Added 25 July 2013 Request Support
Date Modified 4 September 2013 Report extension
Everyone is frustrated with the randomness of the search results of the default OpenCart search, and this script fixes the sorting of the results.

- Sorts based on product name matching rather than the order they were entered or alphabetical
- Module files plus vqmod file so no core files are overwritten
- This script uses the SQL broad matches returned but sorts them by relevance
- Two different sorting functions available with settings to customize
- Phonetic matching (english) available as an option
- Search by SKU or Model number option
- Force always search descriptions option

The default OpenCart search does a simple SQL query using the %LIKE% operator and then sorts based on product name. Usually the results that you want are in the results, but since it is a broad match there could be hundreds or thousands of results and they are not sorted by relevance... until now!
You must buy a license to download this extension click here.
Download Name Compatibility Action
SearchPro 1.5.1.1, 1.5.1.2 [ Download ]
SearchPro 1.5.1.3, 1.5.2, 1.5.2.1, 1.5.3, 1.5.3.1 [ Download ]
SearchPro 1.5.4, 1.5.4.1 [ Download ]

#######################################################################################
# Improved Search Pro - Improved search function by Danny Henderson #
######################################################################################

Any comments if you have questions or ratings in the OpenCart extension store are appreciated!

########## How it works ##########
The default OpenCart search does a simple SQL query using the %LIKE% operator and then sorts based
on product name. Usually the results that you want are in the results, but since it is a broad
match there could be hundreds or thousands of results and they are not sorted by relevance.

In a typical store your customers should be searching for terms that are in the product name or
contains information from the product name. This module relies on product name matching to
move the better results to the top. I use a couple common PHP functions to calculate how similar
the search term is to the products in your store.


########## Requirements ###########

-Designed for OpenCart versions 1.5.x
-vqmod is required

########## Installation ###########

1. Remove any previous version's vqmod file (Better_Search_Sorting.xml)

2. There are 4 files to upload, which will not replace any core files. You can ftp them directly
from the upload folder.

3. Log into your admin and go to Extensions->Modules and choose to install Search Pro.

4. Go to your store and test your search function to make sure everything is working.
-If something goes wrong such as a conflict with another script you can just delete
the 4 installation files as no core files are overwritten

5. In the admin: Extensions->Modules edit Search Pro. Set search cache to Enabled unless you
want to change some settings. (See below)


########## Options and Settings ##########

I have set the default values such that everything should work pretty nice right from the start.
There are some settings you will notice in the admin that you may tweak should you want a slightly
different search results.

You may reset to defaults at any time by uninstalling and reinstalling the module.


Force always search descriptions- This behaves the same as if you were to perform an advanced search
and check the search descriptions option. This will not change the sorting but will broaden the
search anytime someone just uses the search bar.

Search by SKU- Includes the SKU field in the search query.

Search by Model- Includes the product code field in the query.

Search Cache- OpenCart caches search results. This is set off by default because you probably would
not see the effect of this module if your store has many cached results. I recommend setting this to
Enabled once you have tested any changes you want to make as it will reduce server load. You can
manually clear the cache by deleting the cache.product.xxxx files in your system/cache directory.
Once you turn this on, your search results may revert back to the way they were without my
search module unless you clear this cache at least until the cache expires.

Search Pro Status- This will disable all functions of Search Pro

Max Results / Sort Size- This determines how many products the sorting fuction will sort thru to
rank the results. The larger the number the more likely the products you want will be included,
but this also takes server time and resources. Whatever this number is will be the MAX results
that you can have from a search. (ex. at 1500 with a large store and a broad search assuming 30
products per page there would be only be 50 pages returned even if there were more). If you have
a fast server you can consider increasing this. If you are experiencing delays you could lower this
a bit.

Levenshtein addition cost- Penalty for having to add a letter to find a match
Levenshtein edit cost - Penalty for having to change a letter to find a match
Levenshtein delete cost - Penalty for having to delete a letter to find a match

These apply if you areusing the Levenshtein sorting function. I have found this to be the best for my store.

Pre-Convert to Metaphones- If you are an English store and want similar sounding items or mispellings
this will help match based on phonetic distances between words as well. Might be slightly slower.

PHP Matching function- There is another function I have included called SimilarText which works almost
as well as the set up I have for Levenshtein. You can switch and see how it affect your results.

More information on the matching functions are available here:

http://php.net/manual/en/function.levenshtein.php
http://php.net/manual/en/function.similar-text.php
http://php.net/manual/en/function.metaphone.php



########## THANK YOU FOR YOUR BUSINESS! ##########

If you are dissatisfied for any reason please let me know.

Danny Henderson

Tags search, improved search, search engine, better search, search results, search sorting, sku search, model search, enhanced

Hosted by Arvixe Web Hosting