For OpenCart 2.3, 3.0, 4.0 and 4.1
Instant suggestions
- A dropdown under your store search box shows matching products as the shopper types: image, name with the typed letters highlighted, and the price. A sale price is shown with the old price struck through.
- A "View all results" link at the bottom opens the normal search page. When nothing matches, a short message is shown.
- Works from the keyboard: arrow keys to move, Enter to open, Escape to close. On a phone it fits the screen.
Works with your theme
- No theme files are edited. The module adds one small script to every page, and it finds the search box by itself, so it works with the default theme and with custom themes.
- Prices follow the shopper's currency and your tax settings, and are hidden when your store shows prices to logged-in customers only.
- Disabled products are never suggested.
Keeps your server calm
- Starts after 2 characters (you choose 1 to 6) and waits a moment after the last key (default 250 ms), so fast typists do not trigger a request per letter. Older requests are cancelled when a new letter is typed.
- You choose how many suggestions are shown (1 to 12).
Easy to set up
- One settings page: on or off, minimum letters, number of suggestions, typing pause, image and price on or off, optional search in product descriptions.
- Edit the texts of the last link and of the empty message, pick an accent colour from six palettes or any colour, and see a live preview.
- One zip per OpenCart version, installs through Extensions > Installer, no core files edited. Uninstall removes the settings and the event.
Notes
- Matching follows OpenCart's own product search. On OpenCart 4.0 that search matches any of the typed words; 2.3, 3.0 and 4.1 need every word.
- The dropdown labels are English by default and editable in the settings (last link and empty message).
- It attaches to every text box named "search" in the store header or page, except the filter box on the search results page.