Ajax Search for WooCommerce


The plugin allows your customers to search products easily and quickly. It will display the results instantly while typing in an inputbox.
You can display the WooCommerce AJAX search form anywhere on the page.

Just enter a few letters and the products which best match your query will appear.
Suggestions can be displayed in a simple form (names of the products only) or in an extended form (includes photos, prices, descriptions, extended information etc.).

Ajax Search for WooCommerce has been designed to enhance user search experience to the maximum.


  • Search in products titles, descriptions, excerpt or SKU.
  • Product image can be displayed for each suggestion
  • Price can be displayed for each suggestion
  • Description can be displayed for each suggestion
  • SKU can be displayed for each suggestion
  • The ‘add to cart’ button with a quantity field and extended information displayed when you hover the mouse over the suggestion
  • Categories and tags as suggestions
  • Limit displayed suggestions – you can set your own
  • The minimum number of characters required to display suggestions – you can set your own
  • WPML compatible
  • You can set your own label on the ‘search’ button
  • You can set your own preloader image
  • You can set your own color scheme for the 10 main form elements and suggestions

How to use?

  1. Use shorcode [wcas-search-form] in page/post editor or in your Child Theme template files.
  2. Go to the “Widgets Screen” and assign widget “Woo Ajax Search” to one of the widget area.


This plugin is completely free of charge and provides the whole range of functions which are included in some paid plugins.


There are also AJAX Search for WooCommerce Pro with new search engine based on inverted index. It works even 10x faster in some cases. Some of the most important Pro features:

  • Fast search engine based on inverted index
  • Works very fast even with 100,000+ products
  • Fuzzy search
  • Search in custom fields
  • Search in attributes
  • Search in categories
  • Search in brands (WooCommerce Brands and YITH WooCommerce Brands)
  • Search in variation product SKU
  • Help with embedding or replacing the search form in any theme


See how it works for others: Showcase.


Any suggestions or comments are welcome. Feel free to contact me using this contact form.


  • Basic suggestions
  • Extra elements
  • Extended suggestions
  • Settings page with colour schemes


  1. Install the plugin from within the Dashboard or upload the directory ajax-search-for-woocommerce and all its contents to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Woo Ajax Search (admin menu) and set your preferences.
  4. Use shorcode [wcas-search-form] or go to the Widgets Screen and choose “Woo Ajax Search”


January 17, 2020
Très très bon plugin. Même mes clients m'ont fait des compliments sur l'outil de recherche. J'espère qu'il va être suivi régulièrement.
January 10, 2020
It's really an awesome plugin for WooCommerce. Easy to customize and user-friendly.
Read all 413 reviews

Contributors & Developers

“Ajax Search for WooCommerce” is open source software. The following people have contributed to this plugin.


“Ajax Search for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Ajax Search for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.6.0, December 08, 2019

  • ADD: Suggestions groups
  • ADD: Hide advanced settings
  • ADD: Better grouping of settings
  • ADD: Support for Google Analytics events
  • ADD: Search bar preview in settings
  • ADD: New action and filters hooks
  • FIX: Flatsome theme support for [search] shortcode
  • FIX: Images in details panel
  • CHANGE: Updated Freemius SDK
  • REMOVE: Remove ontouch event from mobile detect

1.5.0, September 16, 2019

  • ADD: Integration with the Flatsome theme. It is possible to replace the Flatsome search form via one checbox in the plugin settings page.
  • FIX: Overload servers. Optimalization for chain AJAX requests. Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked
  • FIX: Better support for HTML entities in products title and description
  • FIX: Issues with mobile search version on Storefront theme for iPhones
  • CHANGE: Update/sync fork of devbridge/jQuery-Autocomplete to the latest version
  • CHANGE: Settings design

1.4.1, August 05, 2019

  • ADD: French translations
  • FIX: Better support for fixed menu
  • FIX: Add box-sizing to the search input to better implementation for some themes
  • FIX: Duplicated class Mobile_Detect in some cases
  • FIX: Submit button position in some cases
  • FIX: Zoom in iPhones on focused input
  • FIX: Size of images for categories and tags in the Details panel
  • CHANGE: Updated Freemius SDK

1.4.0, May 04, 2019

  • ADD: New modern mobile search UX (beta, disabled by default, enabled only for Storefront theme)
  • ADD: Italian translations
  • ADD: Spain translations
  • FIX: Error with WP Search WooCommerce Integration
  • FIX: Conflict with the Divi theme for some cases
  • CHANGE: Implementing flexbox grid (CSS)

1.3.3, March 02, 2019

  • FIX: Deactivate browser native “X” icon for search input
  • FIX: Products images for tags and categories in Details panel
  • FIX: Security fix
  • ADD: New logos
  • CHANGE: Updated Freemius SDK

1.3.2, February 16, 2019

  • ADD: The text “No results” and “See all results…” can be customized in the plugin settings
  • ADD: New filters and hooks
  • FIX: Hide the “Account” link in the free plugin versions
  • FIX: The error with the appearance of the tags suggestion
  • FIX: Problem with artificially duplicated search forms occurred in the Mega Menu plugin and some themes.
  • CHANGE: Enforcing use “box-sizing: border-box” within the search form
  • CHANGE: Updated Freemius SDK

1.3.1, January 06, 2019

  • FIX: PHP error with widget

1.3.0, January 06, 2019

  • ADD: If there are more results than limit, the “See all results…” link will appear
  • ADD: Information about the PRO features
  • ADD: Breadcrumbs for nested product categories
  • FIX: Better synchronization between the ajax search results and the search page
  • FIX: Improvements in the scoring system
  • FIX: Image placeholder for products without image
  • FIX: Add SKU label translatable in the suggestions
  • CHANGE: Updated Freemius SDK

1.2.1, October 26, 2018

  • ADD: Storefront support as a option. Allows to replace the native Storefront search form
  • FIX: Improving the relevance of search results by adding score system
  • FIX: Problem with too big images is some cases
  • FIX: Support for HTML entities in the search results
  • FIX: Bugs with the blur event on mobile devices

1.2.0, August 24, 2018

  • ADD: Backward compatibility system
  • ADD: Support of image size improvements in Woocommerce 3.3
  • ADD: Dynamic width of the search form
  • ADD: Option to set max width of the search form
  • ADD: DISABLE_NAG_NOTICES support for admin notices
  • ADD: More hooks for developers
  • ADD: Minified version of CSS and JS
  • ADD: Label for taxonomy suggestions
  • ADD: Quantity input for a add to cart button in the Details panel
  • FIX: Problem with covering suggestions by other HTML elements of themes.
  • FIX: Details panel in RTL
  • FIX: Improvements for the IE browser
  • CHANGE: Code refactor for better future development. Composer and PSR-4 support (in part).
  • CHANGE: Better settings organization
  • CHANGE: Updated Freemius SDK

1.1.7, April 22, 2018

  • FIX: Removed duplicate IDs
  • CHANGE: PHP requires tag set to PHP 5.5
  • CHANGE: Woocommerce requires tags
  • CHANGE: Updated Freemius SDK
  • REMOVE: Removed uninstall.php

1.1.6, October 01, 2017

  • FIX: Disappearing some categories and tags in suggestions
  • FIX: Hidden products were shown in search

1.1.5, September 05, 2017

  • ADD: Requires PHP tag in readme.txt
  • FIX: PHP Fatal error for PHP < 5.3

1.1.4, September 03, 2017

  • ADD: Admin notice if there is no WooCommerce installed
  • ADD: Admin notice for better feedback from users
  • FIX: Deleting the ‘dgwt-wcas-open’ class after hiding the suggestion
  • FIX: Allows to display HTML entities in suggestions title and description
  • FIX: Better synchronizing suggestions and resutls on a search page
  • CHANGE: Move menu item to WooCommerce submenu

1.1.3, July 12, 2017

  • ADD: New WordPress filters
  • FIX: Repetitive search results
  • FIX: Extra details when there are no results

1.1.2, June 7, 2017

  • FIX: Replace deprecated methods and functions in WC 3.0.x

1.1.1, June 6, 2017

  • ADD: Added Portable Object Template file
  • ADD: Added partial polish translation
  • FIX: WooCommerce 3.0.x compatible
  • FIX: Menu items repeated in a search page
  • FIX: Other minor bugs

1.1.0, October 5, 2016

  • NEW: Add WPML compatibility
  • FIX: Repeating search results for products in a admin dashboard
  • FIX: Overwrite default input element rounding for Safari browser, July 24, 2016

  • FIX: Disappearing widgets
  • FIX: Trivial things in CSS

1.0.3, July 22, 2016

  • FIX: Synchronization WP Query on a search page and ajax search query
  • CHANGE: Disable auto select the first suggestion
  • CHANGE: Change textdomain to ajax-search-for-woocommerce

1.0.2, June 30, 2016

  • FIX: PHP syntax error with PHP version < 5.3

1.0.1, June 30, 2016

  • FIX: Excess AJAX requests in a detail mode
  • FIX: Optimization JS mouseover event in a detail mode
  • FIX: Trivial things in CSS

1.0.0, June 24, 2016

  • ADD: [Option] Exclude out of stock products from suggestions
  • ADD: [Option] Overwrite a suggestion container width
  • ADD: [Option] Show/hide SKU in suggestions
  • ADD: Add no results note
  • FIX: Search in products SKU
  • FIX: Trivial things in CSS and JS files

0.9.1, June 5, 2016

  • ADD: Javascript and CSS dynamic compression
  • FIX: Incorrect dimensions of the custom preloader

0.9.0, May 17, 2016

  • ADD: First public release