WooCommerce search returns no results: causes and fixes

Thaitus ·

“No products were found matching your selection.” We set up a fresh WooCommerce store, loaded a real pet accessories catalog and typed in the questions shoppers ask. Every question got that message, including ones the store had an exact answer for. Below: how the default search works, what we saw, and a fix for each cause.

How the default WooCommerce search works

On the storefront, WooCommerce uses the standard WordPress search. In WordPress core it works like this:

  • It looks in three places: the product title, the short description and the full description.
  • It splits the search into words and drops very common words, such as “the”, “for” and “with”.
  • Every remaining word must appear in the same product, in one of those three places.
  • It matches letters, not meaning. “Shampoo” finds “shampoos”, but “shampoos” does not find “shampoo”.
  • A search of ten or more words is treated as one exact phrase.
  • Products whose title contains the words are listed first.

Most “no results” problems follow from those rules.

What we saw on a test store

Setup: WordPress 7.1, WooCommerce 11.3, the Twenty Twenty-Five theme, no search plugin. We imported two catalogs we use to test Thaitus Finder: a real English-language pet accessories store (collars, leashes, harnesses, matching sets and a dog bed) and our Lithuanian haircare test catalog. Then we ran the questions from our test sets through the store’s own search.

SearchCatalogProducts found
“Do you have a matching collar and leash set?”Pet0. The store sells a collar with a matching leash.
“I need a leash with a small pouch for poop bags”Pet0. Several leashes have one.
“I’m looking for a comfortable bed for a small dog”Pet0
leashPet20
leadPet0. The store calls them leashes.
“Kokį šampūną sausiems plaukams?” (“Which shampoo for dry hair?”)Haircare0
sausi plaukai (“dry hair”)Haircare12, a mix of shampoos, conditioners, sprays and leave-ins
šampūnas sausiems plaukams (“shampoo for dry hair”)Haircare0

All 18 questions about things the pet store sells, written as sentences, returned nothing. So did all 19 on the haircare catalog. Short keywords did find products, as lists the shopper then has to sort through.

Common causes and how to fix them

1. The shopper uses different words from your catalog

In our test store, “leash” found 20 products and “lead” found none: same products, British word. “Color” and “colour”, or “hoodie” and “zip sweatshirt”, fail the same way. Keyword search doesn’t know these mean the same thing.

Languages that change word endings make it worse. In Lithuanian, “dry hair” is sausi plaukai, sausų plaukų or sausiems plaukams depending on the sentence, and keyword search treats each form as a different word. “Sausi plaukai” found 12 products in our haircare catalog; “šampūnas sausiems plaukams” found none.

Fix: Write descriptions the way customers talk. Mention the common alternative names in the text once, in a natural sentence. Look at what people actually search for (see below) and add the missing words to the products they meant.

2. The search is a question, not a keyword

“Do you have a matching collar and leash set?” is a clear request, and our test store sells exactly that. But the default search needs “do”, “you”, “have”, “matching” and “set” to appear in one product as well. None does, so the shopper sees nothing.

Fix: Better descriptions help a little, but you can’t cover every way of phrasing a need. Search that matches meaning, not letters, handles this. We compare the options in keyword search, semantic search, chatbot, advisor.

3. The information is in attributes, tags, categories or the SKU

The default storefront search does not look at product attributes (size, colour, material), tags, categories, custom fields or the SKU. If “vegan” exists only as a tag, or “leather” only as an attribute, a search for it finds nothing. The admin product list does find SKUs, so this is easy to miss when you test from the dashboard.

Fix: Put the details that matter to buyers into the description as well. If shoppers often search by SKU or attribute, use a search plugin that includes those fields.

4. The product is hidden from search

Each product has a Catalog visibility setting in the Publish box on its edit screen. “Shop only” and “Hidden” both keep the product out of search results.

Fix: Set it to “Shop and search results” for anything shoppers should be able to find. If you imported products in bulk, check a few to make sure the import didn’t set a hidden value.

5. Out-of-stock products are hidden

Under WooCommerce → Settings → Products → Inventory, the option “Hide out of stock items from the catalog” removes out-of-stock products from search too. A shopper searching for a product that is out of stock gets no results, not a “sold out” page.

Fix: Decide which you prefer. Showing out-of-stock products lets shoppers find them, see that they are sold out, and look at alternatives or sign up for a back-in-stock notice if you offer one.

6. The product isn’t visible to the public

Drafts, products pending review, private and scheduled products don’t appear for shoppers. Password-protected products are left out of search for visitors who aren’t logged in. Because you are logged in as the shop manager, you may still see some of them yourself.

Fix: Test searches in a private browser window, logged out, the way a shopper would.

7. The theme’s search box doesn’t search products

Some themes’ header search is a general WordPress search. Results then use the theme’s blog search layout, or mix pages and posts with products, and can look empty or wrong for a product search.

Fix: Check your theme’s settings for a “product search” option, or use the WooCommerce Product Search block in the header. Search once from the header and check that the results page looks like your shop.

8. The shopper searches in another language

If your catalog is in English and a shopper types in Lithuanian, German or Polish, keyword search finds nothing, because none of their words appear in your product text. “Ich suche ein bequemes Hundebett” (German for “I’m looking for a comfortable dog bed”) found nothing in the English pet catalog, which has one.

Fix: Translate your catalog with a multilingual plugin, or use a search that understands the request in one language and matches it against products written in another.

9. A search plugin’s index is out of date

Many search plugins build their own index of your products. After a bulk import, a migration or a change to the plugin’s settings, the index can fall behind the catalog.

Fix: Rebuild the index from the plugin’s settings and search again for a product you added recently.

How to find the searches that fail

WooCommerce doesn’t keep a list of what shoppers searched for. Two simple ways to get one:

  • Google Analytics 4. With enhanced measurement on, site search is tracked from the s URL parameter WordPress uses. The search terms report shows what people typed.
  • Your search plugin. Many search plugins log searches and can show the ones that returned nothing.

Search for the top terms yourself. For each one that returns nothing, find the cause in the list above.

Quick checklist

CheckWhere
Product is published, not draft, private or password-protectedProduct edit screen → Publish
Catalog visibility is “Shop and search results”Product edit screen → Publish → Catalog visibility
Out-of-stock products are shown, if you want them foundWooCommerce → Settings → Products → Inventory
The words shoppers use are in the title or descriptionProduct title, short and full description
Header search returns products, in your shop layoutTheme settings, or the Product Search block
Search works when logged outPrivate browser window
Search plugin index is up to dateYour search plugin’s settings

When fixing keywords isn’t enough

Causes 4 to 7 and 9 are settings: fix them once and they stay fixed. Causes 1, 2, 3 and 8 come from how keyword search works. If your failed searches are mostly descriptions of a need, like “a leash with a pouch for poop bags” or “which shampoo for dry hair?”, a search that reads the request and your product text for meaning will help more than adding words to descriptions.

Thaitus Finder works this way. A shopper describes what they need, in their own language. It picks matching products from your catalog and gives one line on why each fits. When nothing fits, it says so instead of showing an empty page or something unrelated. Shoppers who know exactly what they want can still open your regular search results from the search window.

The same kind of question, answered from a catalog

Real answer from Thaitus Finder on a haircare store's catalog. Recorded example, not a live search. Product illustrations.

Turn “no results” into a recommendation.

Start free trial: 3 days and 100 AI answers. No card or separate AI key. Then from €9/month. See all plans.

Start free trial on WordPress.org

Requires WordPress 6.0+, PHP 7.4+ and WooCommerce.