SearchWP

WooCommerce Integration

This Extension requires a Pro license

Current version: 1.3.11

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

Changelog

1.3.11

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

1.3.10

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

1.3.9

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

1.3.7

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

1.3.6

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

1.3.5

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

1.3.4

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

1.3.3.1

  • [Fix] Prevent Errors when SearchWP is not active

1.3.2

  • [Fix] SearchWP 4 compatibility updates

1.3.1

  • [New] Adds SearchWP 4 compatibility

1.2.2

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

1.2.1

  • [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

1.2

  • [New] Adds support for WooCommerce JSON Product Search

1.1.22

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

1.1.20

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

1.1.18

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

1.1.17

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

1.1.16

  • [Improvement] Better integration with WooCommerce native sorting

1.1.15

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

1.1.14

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

1.1.13

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

1.1.12

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

1.1.11

  • [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

1.1.10

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

1.1.9

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

1.1.8

  • [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

1.1.7

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

1.1.6

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

1.1.3

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

1.1.1

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

1.1

  • 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

  • “What I like is that SearchWP has an easy setup and offers immediate improvement. I also like that Jonathan is honest about the limitations of the product. Over 20K posts/pages and he recommends you look elsewhere for reasonable performance.”

  • “I like SearchWP because its intuitive to use. It has simple straight forward settings. Its fast and it works. The results are great, and I also recognize that other value-add plugins are integrating with SearchWP. I have received great support.”

  • “I had some difficulties to get different results if users are logged in or not. Support was more than code snippets. Complete functions were sent to add in the function.php of my child theme. Very competent and very friendly support! -Henner”