Woocommerce search not working as expected is more common than you would expect.

Currently, you can only search for WooCommerce SKUs in the admin of your shop (the “Products” list), and this search is restricted to only parent product SKUs, not variation SKUs. In WooCommerce 2.5 (due for release in a couple of weeks), you’ll be able to search your admin by SKU for parent product SKUs and variation SKUs.

However, this search functionality isn’t available on the frontend of your site; customers cannot search for product SKUs to return a list of products. If customers search for all or part of an SKU, and the search query isn’t contained anywhere else on the site, they’ll get no results.

woocommerce search with sku

Add Advanced Search to Woocommerce

There are two ways in which you can add an advanced search to your Woocommerce store. Both of these will give the ability to search by SKU. The first is a plugin method and the other method does not use a plugin.

  1. Download ExpertRec’s WordPress search extension
  2. Click on Activate plugin inside WordPress Admin Panel.
  3. Go to https://cse.expertrec.com?platform=wordpress 
  4. Sign in with your Gmail account.wordpress custom search
  5. Enter your website URL.wordpress custom search
  6. Wait for the crawl to complete. wordpress custom search
  7. Get your site ID from your ExpertRec control panel ( here ) and paste in the field provided inside your WordPress Control Panel.wordpress custom search
  8. Upgrade to a paid plan.wordpress custom search
  9. That’s it! custom search is live on your website-advanced search by SKUWoocommerce search by SKU

This search has advanced features like voice search and search by SKU. If you want more control over the installation of Woocommerce search by SKU then follow the steps below.

  1. Navigate to https://cse.expertrec.com/newuser?platform=cse and signup with your Google ID.
  2. Enter your website’s URL when prompted. You can select a server location near you and add the URL of your sitemap if you wish to. These will be auto-detected otherwise.
  3. You can play around with the settings and customize the UI as the crawl runs. Once it is complete, you can check out a fully functional demo before taking the search to your website.
  4. You can take the search to your website with little to no effort. All you need to do is to paste the code snippet available on the dashboard on your website.

ExpertRec comes with more customization options that you can explore. You can read this article to find a more detailed guide on the installation and configuration.

You may also like