Giter VIP home page Giter VIP logo

instantsearch's Introduction

Instant Search v2.0.0 Beta 1

Just like googles instant search feature I’ve made one for zen cart. 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. As of version 2.0.0 I only test/develop for Zen Cart ≥1.5.6, and php ≥7.2

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.

Support

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.

How It Works

  • When the page loads up jscript_instantSearch.js adds a keyup listeners to the search boxes.

  • When the user starts to key in a few letters jscript_instantSearch.js sends the data to zcAjaxInstantsearch.php.

  • zcAjaxInstantsearch.php uses sql to gather matching search results.

  • zcAjaxInstantsearch.php sends these results back to jscript_instantSearch.js.

  • jscript_instantSearch.js then creates the instant search box with the results on the web page.

  • Instant search uses the jQuery JavaScript Library.

  • You can change the style and layout of the instant search via stylesheet_instantSearch.css.

Changes

since v1.0.2

  • converted to the native Zen Cart Ajax function
  • added some back-end configuration values
  • added module version control
  • converted code to latest Zen Cart standards

instantsearch's People

Contributors

zen4all avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

marco-pm

instantsearch's Issues

Write updated documentation

since some files changed names, new files were added, and new functions were added. The documentation needs updating

incorrect uri's are generated

Some bug that need to addressed in creating the correct uri's in the search results:

  • no cpath is generated for products
  • product_type is ignored for products

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.