This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Search by SKU for Woocommerce

Description

The search functionality in woocommerce doesn’t search by sku by default.
This simple plugin adds this functionality search facility of your site. Just install and activate – no config required.
Tested with Woocommerce 1.5.6, 2.0.7, 2.0.18, 2.2.4 and 2.2.10
See the Accompanying blog post for more info.

Installation

  1. Upload woocommerce-searchbysku.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. No configuration required 🙂

FAQ

How do I configure the plugin?

Simply activate in the plugin menu, there is no configuration required 🙂

Reviews

Read all 61 reviews

Contributors & Developers

“Search by SKU for Woocommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.6.1

0.6.0 had issues working with Relevanssi search plugin, this update provides compatibility once again.

  • Compatibility with Relevanssi search.
  • If you use Relevanssi and the Search by SKU plugin you may find some of the Woocommerce widgets such as the layered nav do not work 100% correctly.
  • Tweak to provide compatibility for older versions of woocommerce. wc_clean() function does not exist in older versions of woocommerce.

If you feel you / your clients have benefited from the plugin, please consider a donation 🙂

0.6.0

Minor release functionally – Major release development wise 🙂

  • Compatibility with Woocommerce layered nav widget!
  • Fix issue with search results appearing in strange places.
  • Compatibility with Woocommerce Price filter widget!
  • Fix issue with incorrect result count.

This is probably the most significant release of the plugin so far as it addresses most of the issues previously raised, so please keep all bug reports / enhancement suggestions coming 🙂

If you feel you / your clients have benefited from the plugin, please consider a donation 🙂

0.5.2

Bug fix release!
0.5.1 removed the plugin when searching in the WordPress admin as Woocommerce has implemented searching for simple products by SKU.
I didn’t realise they had not added searching for variable products by SKU. This release re-enables that feature, other new features:

  • Fix long standing bug of the product filtering not playing nicely with the plugin. (Searching within categories etc)
  • Handle multiple comma separated skus in search (Admin only)
  • Admin search re-implemented to be much closer to Woocommerce search and make more appropriate use of WordPress filters. (This will make it easier to hopefully integrate back into woocommerce core)
  • General code tidy up.

0.5.1

  • Disabling SKU search in admin to let Woocommerce handle it.

0.5

  • Improved support for sites running wpml

0.4

  • Remove hidden products from search results
  • “Total Found” search count works in more themes.

0.3

  • Releasing to wordpress.org