Here are a few fixes to solve the “Woocommerce search not working issue” without getting into coding. This could manifest in the following ways-

woocommerce search not working

  • Woocommerce search function not working
  • Woocommerce search results don’t show products.
  • Woocommerce product search in admin is not working.
  • Woocommerce search products by title, category, tag or brand are not working.
  • Woocomerce admin product search not working.

Here are some simple fixes without going into coding –

  1. Upgrade to the latest version of wordpress from your wordpress admin panel.
  2. Upgrade your woocomerce plugin to the latest version.
  3. If you have any caching plugins, delete the cache and try searching again.
  4. Usually, themes such as the Sydney, Revo themes could conflict with woocommerce. Change your theme to a default wordpress theme like twenty nineteen.
  5. Uninstall plugins and check compatibility with your woocommerce search by enabling one plugin at a time.

Quick fixes by tweaking code-

  1. Woocommerce search results don’t show products– By default wordpress searches only blogs and pages without searching your woocommerce products. To do this, replace your search form.
     
  2. Woocommerce product search in admin is not working.Woocommerce product search in admin is not working.to fix this issue, disable yoast seo plugin and add the following code to the functions.php file.
    If it is still not working, add the following code to your functions.php file.
     
  3. Woocommerce search products by title, category, tag or brand are not working– To fix this, install the free products filter for woocommerce plugin. https://wordpress.org/plugins/woocommerce-products-filter/. It enables product filtering by –
    • products categories,
    • products attributes,
    • products tags,
    • products custom taxonomies
    • products price.product filter plugin woocommerce

Another method is to create your own woocommerce custom search engine and add it to your website.

  1. Sign up at woocommerce search engine.
  2. Choose your nearest data center.
  3. Enter your product sitemap URL.
  4. Now the search engine crawler will begin crawling your website.
  5. Go to Crawl-> what to crawl-> SitemapCrawl-> what to crawl-> Sitemap and remove unnecessary sitemap URLs. Also, enable crawl only sitemap.
  6. Go to Install-> code and copy-paste the code to the head section of your woo-commerce website.
  7. You can now replace your existing woo-commerce search form with this.woocommerce search not working

muthali ganesh

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.