Book Image

WooCommerce Cookbook

By : Patrick Rauland
Book Image

WooCommerce Cookbook

By: Patrick Rauland

Overview of this book

Table of Contents (17 chapters)
WooCommerce Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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