WooCommerce Integration

This Extension requires a Pro license

Current version: 1.3.12

Download available with active license

Please note that this is a Pro-level Extension

WooCommerce uses a post type archive template to facilitate search results. This extension allows SearchWP to work with this default behavior by WooCommerce. This extension also incorporates other features of WooCommerce search such as Layered Navigation.

If you are using the native WordPress search (e.g. your search results URL does not have post_type=product anywhere) this extension is not necessary. As a result, if you would like to disable SearchWP’s notification add the following to your theme’s functions.php:

// This is for SearchWP 4.
add_filter('searchwp\missing_integration_notices', '__return_false');

// This is for SearchWP 3.
add_filter( 'searchwp_missing_integration_notices', '__return_false' );

WooCommerce is one of the leading e-commerce platforms for WordPress. SearchWP makes searching your WooCommerce store much more powerful than native WordPress search. WooCommerce also has it’s own set of search tools and filtering options. WooCommerce Integration aims to bridge the gap between all of WooCommerce’s search tools and SearchWP.

Simply download WooCommerce Integration and activate it alongside SearchWP. SearchWP extensions are separate plugins that in and of themselves are standalone WordPress plugins.

Product Variations

WooCommerce stores Product Variations in a different way than it does Products. There are a few things you can do to integrate Product Variation data alongside your Products depending on how you want results to appear.

If you would like to index Product Variation data alongside Products (allowing Product Variation data to cause the parent Product to appear in search results) you can follow the example outlined by this KB article: Indexing and Searching WooCommerce Product Variation SKUs

Alternatively, you can force Product Variations to appear as their own post type by using this as a starting point: view code snippet



  • [Fix] Search string containing apostrophes breaks WooCommerce search


  • [Fix] Search string containing plus sign breaks WooCommerce search
  • [Fix] Deprecation notices on PHP 8.2


  • [Fix] Issue with some punctuation in some cases
  • [Update] Updated updater


  • [Fix] Issue with admin searches with SearchWP 4
  • [Fix] Stock exclusion logic in some cases
  • [Fix] Sorting adaptation in some cases


  • [Improvement] Use tax_query instead of meta_query when excluding out of stock items (when enabled in WooCommerce)


  • [Change] Hidden/Out of Stock exclusion (when applicable) now handled by Mods to better integrate with other plugins


  • [Fix] Integration with sorting not working as expected in some cases


  • [Fix] Multi-word searches not working in some cases
  • [Update] Updated updater

  • [Fix] Prevent Errors when SearchWP is not active


  • [Fix] SearchWP 4 compatibility updates


  • [New] Adds SearchWP 4 compatibility


  • [Fix] Highlighting support
  • [Update] Updated updater


  • [Change] Intercepting WooCommerce JSON Product Search (added in 1.2) is now opt-in
  • [New]New filter: searchwp_woocommerce_hijack_json_search controls whether WooCommerce JSON Product Search requests are intercepted


  • [New] Adds support for WooCommerce JSON Product Search


  • [Fix] Fixes integration with WooCommerce's Price Filter minimum and maximum values
  • [Fix] Fixes an issue with incorrect weight calculation


  • [Fix] Fixed an issue with searches in the WordPress Administration area
  • [Improvement] Improved short circuiting behavior to reduce overhead


  • [Fix] Restored logging in engine statistics in some cases
  • [Update] Updated updater


  • [Fix] Better enforcement when no results are found
  • [Improvement] Prevent redundant search from running
  • [Update] Updated updater


  • [Improvement] Better integration with WooCommerce native sorting


  • [Fix] Fixed an issue that prevented final results from showing in some cases


  • [Fix] Fixed an issue that prevented final results from showing in some cases


  • [Fix] Fixed an issue with product visibility in WooCommerce 3.0


  • [Fix] Fixed an issue that may have prevented proper results from showing when using WooCommerce Layered Navigation Widgets


  • [New] New filter searchwp_woocommerce_forced to force WooCommerce Integration to apply
  • [Improved] Better consideration of product visibility
  • [Improved] Better handling of redundant filter calls
  • [Update] Updated updater


  • [New] New action searchwp_woocommerce_before_search
  • [New] New filter searchwp_woocommerce_consider_visibility
  • [New] New filter searchwp_woocommerce_query_args


  • [Fix] Fixed an issue when searching on defined Shop page
  • [Fix] Fixed an issue with WooCommerce Layered Navigation Widgets in WooCommerce 2.6


  • [Fix] Resolved additional use case where Layered Navigation filters and results were not accurate
  • [Fix] Properly exclude out of stock items when that setting is enabled


  • [Fix] Fixed a regression introduced in version 1.1.6 that may have prevented results from displaying


  • [Fix] Fixed an issue where Layered Navigation Widget counts were not accurate
  • [Update] Updated updater


  • [Fix] Fixed an issue with WooCommerce Hidden products not being excluded outside of a WooCommerce search by default


  • [Fix] Fixed an issue with inaccurate search log counts


  • Initial release

Want to make your search awesome right now?

More than 30,000 sites have chosen SearchWP!

You can utilize all of the content that’s gone unrecognized by native WordPress keyword search instantly with SearchWP.

Get SearchWP for just $99

  • Committed Support
    If you need help, support is fast, friendly, and here for you
  • Streamlined Setup
    Installation and setup that’s optimized for speed
  • Great Documentation
    Helpful, clear, and usable documentation is a priority

See what SearchWP customers have to say

  • “The plugin do all what we need – and the support is GREAT! Helped me in many questions and at PHP-code! THANKS!”

  • “the plugin does exactly what it says with a dedicated support! highly recommended !”

  • “SearchWP is the booster WP needs. It converts search in what it should be. Great plugin!”