Instant Search v1.0.0
Just like googles instant search feature I’ve made one for zencart. Instant search is a new search enhancement that shows results as you type. 

Tried and tested and works on all major browsers including smart phones.

This contribution is subject to version 2.0 of the GPL license, that is bundled with this package in the file LICENSE, and is available here.

These files are submitted for public distribution via the Zen Cart forum. It would be great if you can provide your feedback or support via the support thread at the Zen Cart forum where it can benefit all users of this add-on module.


Installation
None of the core Zencart files are affected, so in theory it shouldn't affect any future upgrades.

If you are using the default template classic then copy the files in the INSTALL folder to the equivalent places in your site. They already have the correct folder structure so a single drag and drop into the root directory for your store will put the files in the correct locations.

However if you are using your own custom template then you will need to place the files into their own correct folder. For example your template is called MYTEMPLATE you will then have to copy the files to:

 

How It Works

  1. When the page loads up instantSearch.js adds a keyup listeners to the search boxes.
  2. When the user starts to key in a few letters instantSearch.js sends the data to searches.php.
  3. searches.php uses sql to gather matching search results.
  4. searches.php sends these results back to instantSearch.js.
  5. instantSearch.js then creates the instant search box with the results on the web page.

Version History
v1.0.1 update:


v1.0.0 current version.