Title: Search by SKU for Woocommerce
Author: mattsgarage
Published: <strong>7. Juni 2013</strong>
Last modified: 16. Juli 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/search-by-sku-for-woocommerce.svg)

# Search by SKU for Woocommerce

 By [mattsgarage](https://profiles.wordpress.org/mattsgarage/)

[Download](https://downloads.wordpress.org/plugin/search-by-sku-for-woocommerce.0.8.1.zip)

 * [Details](https://de-ch.wordpress.org/plugins/search-by-sku-for-woocommerce/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/search-by-sku-for-woocommerce/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/search-by-sku-for-woocommerce/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/search-by-sku-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/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, in both
the public site and admin panel

Just install and activate – no config required.

Tested with Woocommerce 1.5.6, 2.0.7, 2.0.18, 2.2.4, 2.2.10, 3.4.4, 4.0.1 and 4.2.0

See the [Accompanying blog post](http://www.mattyl.co.uk/2012/12/11/woocommerce-plugin-to-search-products-by-sku/)
for more information.

## 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

![](https://secure.gravatar.com/avatar/a5a74bd415a4c1d81852e06ae2aefba407cfd165fa503f599f82583a83c33ad5?
s=60&d=retro&r=g)

### 󠀁[simple, perfect](https://wordpress.org/support/topic/simple-perfect-87/)󠁿

 [haiwang](https://profiles.wordpress.org/haiwang/) 22. Dezember 2022

<font _mstmutation="1" _msthash="1014793">Hope it can be updated continuously, compatible
with WooCommerce 7.x

![](https://secure.gravatar.com/avatar/82f87f47a9bb6c11ea474f861199875d62175bfe940d5355771eb6f7f01cb2e3?
s=60&d=retro&r=g)

### 󠀁[wonderful](https://wordpress.org/support/topic/wonderful-938/)󠁿

 [golgofa_rus](https://profiles.wordpress.org/golgofa_rus/) 8. August 2022

simply and easily

![](https://secure.gravatar.com/avatar/56131801399bd31900c49a90e1da6c02a303c81a9c1bd9a227ec28dbf54f0f8e?
s=60&d=retro&r=g)

### 󠀁[Malicious code](https://wordpress.org/support/topic/malicious-code-21/)󠁿

 [bazarteb](https://profiles.wordpress.org/bazarteb/) 26. April 2022

i think this plugin have Malicious code, Because after installing this plugin, my
site had a serious problem, and it was redirected to other sites

![](https://secure.gravatar.com/avatar/07660205159b3f01414e6cbc3fc2d9e32b6adaa7a1791a828beb0d9e0fe08c69?
s=60&d=retro&r=g)

### 󠀁[Simple, perfect.](https://wordpress.org/support/topic/simple-perfect-82/)󠁿

 [vladmen](https://profiles.wordpress.org/vladmen/) 18. Februar 2022

Hace todo lo que ofrece, permite al buscador encontrar productos por SKU

![](https://secure.gravatar.com/avatar/8d182f86730f87a7ac986072607482836781e75adf48b4716dac2d5789eff7da?
s=60&d=retro&r=g)

### 󠀁[It solve my issue](https://wordpress.org/support/topic/it-solve-my-issue/)󠁿

 [Carlos](https://profiles.wordpress.org/cquesadad90/) 20. Januar 2022

Thanks to this plugin I solve the issue of search by Sky in our website. Thanks 
a lot

![](https://secure.gravatar.com/avatar/8cac3ab3cdf4583fdb25b619cad4379683a223ecfa339fef5ff86bfb5a5a4262?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-13601/)󠁿

 [rosalynteltronix](https://profiles.wordpress.org/rosalynteltronix/) 3. August 
2021

Works on 5.8 no problem

 [ Read all 85 reviews ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/)

## Contributors & Developers

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

Contributors

 *   [ mattsgarage ](https://profiles.wordpress.org/mattsgarage/)

[Translate “Search by SKU for Woocommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/search-by-sku-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/search-by-sku-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/search-by-sku-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/search-by-sku-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/search-by-sku-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.8.1

Update WordPress compatibility to 5.7.2

#### 0.8.0

Compatibility with Woocommerce 5.5.0

#### 0.7.1

Testing with WordPress 5.4.2 and Woocommerce 4.2.0
 Remove compatibility warnings
from plugin view. Achieved by adding woocommerce metadata flags.

#### 0.7.0

Fix a long standing bug to search for multiple products. If you search for multiple
SKUs at once EG `WB-12, WB-20` you will now search results for both products.
 Fix
leading or trailing whitespace issue around SKUs Update contact information of [plugin maintainer – Unroll Digital](https://unrolldigital.com)

#### 0.6.3

Testing the plugin still works with the latest versions of wordpress (5.4) and woocommerce(
4.0.1).

#### 0.6.2

Testing the plugin still works with the latest versions of wordpress (4.9.8) and
woocommerce (3.4.4).

#### 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](https://wordpress.org/plugins/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 🙂](http://www.mattyl.co.uk/donate/)

#### 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 🙂](http://www.mattyl.co.uk/donate/)

#### 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](http://wpml.org/)

#### 0.4

 * Remove hidden products from search results
 * «Total Found» search count works in more themes.

#### 0.3

 * Releasing to wordpress.org

## Meta

 *  Version **0.8.0**
 *  Last updated **5 Jahren ago**
 *  Active installations **10'000+**
 *  WordPress version ** 3.1.0 or higher **
 *  Tested up to **5.7.21**
 *  PHP version ** 5.2.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/search-by-sku-for-woocommerce/)
 * Tags
 * [ecommerce](https://de-ch.wordpress.org/plugins/tags/ecommerce/)[search](https://de-ch.wordpress.org/plugins/tags/search/)
   [sku](https://de-ch.wordpress.org/plugins/tags/sku/)[stock keeping unit](https://de-ch.wordpress.org/plugins/tags/stock-keeping-unit/)
   [woocommerce](https://de-ch.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/search-by-sku-for-woocommerce/advanced/)

## Ratings

 4.6 von 5 Sternen.

 *  [  76 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/?filter=5)
 *  [  1 4-Sterne-Rezension     ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/?filter=3)
 *  [  1 2-Sterne-Rezension     ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/?filter=2)
 *  [  7 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/reviews/)

## Contributors

 *   [ mattsgarage ](https://profiles.wordpress.org/mattsgarage/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/search-by-sku-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.mattyl.co.uk/donate/)