Allowing users to search by SKU

One of the best things about WooCommerce is how simple it is. The developers purposefully don't include every possibility because it makes the interface too confusing. One of the settings that some people do end up needing that's not included in WooCommerce is the ability to run a search for a product by SKU. Luckily, there's a free plugin on WordPress.org that can enhance the WooCommerce Product Search widget with this functionality.

Getting ready

Make sure you have the WooCommerce Product Search widget set on one of your pages.

How to do it…

In order to allow users to search by SKU, go through the following steps:

  1. In the WordPress admin, click on the Plugins menu and then on Add New.
  2. Run a search for Search by SKU for WooCommerce.
  3. Install and activate the plugin.

How it works…

The Search by SKU for WooCommerce plugin is one of those plugins that does just one thing and does it very well. There are no settings to configure—it just works.

There's more...

There are more of these plugins available for free on WordPress.org. Another popular variation of this plugin is the Search by Product Tag for WooCommerce plugin made by the same author.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset