Skip to content

WC Search Orders By Product

Find the WooCommerce orders that contain a product. Filter the orders screen by product or variation, SKU, category, product type, payment method, shipping method or billing country. Filters work together and stay fast on large stores.
Free on WordPress.org.

Latest Version

4.1.2

Active installs

800+

Extension Requirements:

  • WordPress 6.5+
  • PHP 8.1+

Languages

  • English (US)

Compatibility

  • HPOS

Plugin Details

  • Last updated: October 29, 2026
  • WordPress tested up to: 7.1.4

Description

WC Search Orders By Product does exactly what it says – This WooCommerce extension automatically adds product search, product type and product category filter dropdown in WooCommerce Orders screen. You can find orders by typing just a few characters of your product name. As you start typing in the search input, you will see instant results popping up inside the dropdown menu. The auto listing of the matching products with same characters inside the dropdown will help you in typo tolerance or if you misspell the product name.

Search woocommerce orders:

  • By product name
  • By product type
  • By product category

For improving the user experience and performance, This plugin uses the functionality of AJAX-powered Select2 select boxes.
Select2 is licensed under MIT and Copyright (c) 2012-2015 Kevin Brown, Igor Vaynberg, and Select2 contributors.

Changelog

4.1.2 - 2026-10-29

  • Requires WooCommerce 7.9 or later: the order filters on the HPOS screen need it.
  • Fix - On sites in a right-to-left language the options under a switch on the settings page were indented on the wrong side. They now line up with the switch.
  • Notices from WordPress and other plugins no longer show on the settings page, where they printed above the header and then jumped into place. They still show on every other screen.

4.1.1 - 2026-10-14

  • Fix - On sites in a right-to-left language (such as Arabic or Hebrew) the settings page sat 20px off the edge of the window and scrolled sideways. The page now mirrors fully.
  • Fix - Keyboard focus now shows a ring on every control of the settings page.
  • The old WooCommerce > Settings > Advanced > Search orders by product section no longer shows an unused Save button.

4.1.0 - 2026-10-14

  • Enhancement - Settings moved to one new page under WPHEKA > Search Orders, in the same design as our other plugins. Every option is there, including the categories the category filter lists, with a search box for stores with many categories. Your settings are kept as they are.
  • Enhancement - The settings page shows which filters are on, whether fast lookup is in use and how many orders the store has, with a short getting-started list.
  • Enhancement - WooCommerce > Settings > Advanced > Search orders by product now links to the new page.
  • Enhancement - Shop managers find the page in the WPHEKA menu.
  • Enhancement - Settings save with a normal form, so they also save with JavaScript off.
  • Fix - A line removed from an order no longer matches a filter through out-of-date WooCommerce Analytics data.
  • Fix - Filtering stays fast when many orders changed since the last check.
  • Dev - New hooks wc_search_orders_by_product_settings_sections and wc_search_orders_by_product_settings_nav add sections to the settings page. The wc_search_orders_by_product_settings_fields filter no longer runs, as the WooCommerce section has no fields.
  • Enhancement - WooCommerce 11.2.1 compatibility.

4.0 - 2026-10-07

  • Feature - New filters: SKU, payment method, shipping method and billing country. Switch them on in WooCommerce > Settings > Advanced > Search orders by product.
  • Feature - A "Purchased" column in the orders list shows the items of each order.
  • Feature - The category filter now includes sub-categories and shows the category tree. You can limit which categories it lists.
  • Feature - Settings are also under WooCommerce > Settings > Advanced, where shop managers can change them.
  • Enhancement - Much faster on large stores. Filters are added to WooCommerce's own order query instead of loading every order first. On a test store with 100,000 orders the plugin's filtering takes 0.1 to 1.2 seconds instead of 7 to 10 seconds. The product type filter no longer times out.
  • Enhancement - The filters on the orders screen sit on their own line and use WooCommerce's searchable dropdowns.
  • Enhancement - Redesigned settings page with a short description for each option.
  • Enhancement - The product type and category filters are on by default, as the description always said.
  • Enhancement - Developer hooks to add filters, conditions and settings (docs/hooks.md).
  • Fix - Orders in statuses registered by other plugins are no longer dropped from filtered results.
  • Fix - The review request could never appear on stores using High-Performance Order Storage.
  • Fix - Removed an unused AJAX handler and a broken settings registration.

3.5 - 2026-10-05

  • Fix - Save Changes on the settings page works again. Since 3.3 every save was refused, so the product type and category filters could not be switched on or off.
  • Fix - Saving the settings now requires the same permission as opening the settings page.
  • Fix - Closing the review request with its X now hides it for 14 days for that user instead of returning on the next Dashboard load.
  • Enhancement - WordPress 7.1.2 compatibility.

3.4 - 2026-10-01

  • Fix - The plugin no longer interferes with WooCommerce Subscriptions. The subscriptions list could come up empty, and Subscriptions could be handed orders where it expected subscriptions.
  • Fix - On stores using High-Performance Order Storage, a filtered orders list now respects the selected status tab and pagination, and trashed orders show in the Trash view.
  • Fix - The orders list is left untouched when no product filter is selected.
  • Enhancement - WooCommerce 11.1.2 compatibility.

3.3 - 2026-08-22

  • Feature - Asks for a review on the Dashboard once the plugin has been used, with a link that pre-selects a five-star rating. Shown only after three filtered order searches, dismissed per user rather than for the whole site, and never shown again once dismissed.
  • Security - The deactivation feedback handler required neither a nonce nor a capability. Both are now checked, and the nonce is compared correctly.
  • Security - Escaped remaining admin output, including the settings screen and the deactivation dialog's inline script.
  • Fix - Order filtering no longer produces an SQL error when a filter matches no products.
  • Fix - Fourteen admin strings are translatable again. Twelve passed a variable as their text domain, which translation tools cannot extract, and two had no text domain at all.
  • Fix - The deactivation dialog no longer leaves its button stuck on "Processing" when the request fails. Deactivation proceeds either way.
  • Fix - The settings check returns a boolean and no longer warns when asked about an unknown setting.
  • Enhancement - The settings screen now appears under the shared WPHEKA menu.
  • Enhancement - Adopted the WPHEKA framework for the HPOS declaration, settings storage and the shared menu.
  • Enhancement - Requires PHP 8.1 and WordPress 6.5. WordPress 7.1 and WooCommerce 11.0.1 compatibility added.

3.2 - 2026-02-12

  • Security - Fixed SQL injection vulnerabilities in product type filtering.
  • Security - Added proper input sanitization for all $_GET parameters.
  • Security - Added proper input sanitization for AJAX form submissions.
  • Security - Improved output escaping in product category dropdown.
  • Fix - Fixed HPOS filters to use woocommerce_order_items table instead of empty analytics table.
  • Fix - Corrected all HPOS filter methods (product, category, type) to query correct tables.
  • Fix - Fixed unclosed HTML option tag in product search dropdown.
  • Fix - Fixed TypeError when filtering orders by product (sanitization compatibility issue).
  • Enhancement - WooCommerce version 10.5.1 compatibility added.
  • Enhancement - WordPress version 6.9.1 compatibility added.

3.1 - 2025-05-14

  • Enhancement - WooCommerce HPOS compatibility added.
  • Enhancement - WooCommerce version 9.8.5 compatibility added.

3.0 - 2024-11-30

  • Enhancement - WooCommerce version 9.4.2 compatibility added.

2.0 - 2023-08-24

  • Enhancement - WordPress version 6.3 compatibility added.

1.9 - 2022-10-21

  • Fix - woocommerce trashed orders visibility.

1.8 - 2022-05-25

  • Enhancement - WordPress version 6.0 compatibility added.

1.7 - 2022-05-24

  • Fix - Trying to access array offset on value of type bool on plugin settings page.

1.6 - 2021-08-13

  • Enhancement - WooCommerce version 5.5.2 compatibility added.
  • Enhancement - WordPress version 5.8 compatibility added.
WC Search Orders By Product: find the WooCommerce orders that contain a product, with a search by product and SKU and the matching orders.

WC Search Orders By Product