# Your WooCommerce store search finds nothing

> WooCommerce’s built-in search runs on WordPress’s default search engine: a plain text match against the product’s title and content. It never looks at the SKU, variation attributes or custom fields, which explains most "our search finds nothing" complaints even though the product is live in the catalogue.

- Source canonique : [https://allaux.fr/en/wordpress-woocommerce/problemes/recherche-interne-inutilisable](https://allaux.fr/en/wordpress-woocommerce/problemes/recherche-interne-inutilisable)
- Langue : EN
- Dernière mise à jour : 2026-09-30

## Direct answer

> Search for an exact SKU: if nothing comes back, that is WordPress behaving normally — the s parameter of WP_Query only matches the post title and the post content. The SKU itself lives in wp_postmeta and is never queried. Extend the query through the pre_get_posts hook, or install a search engine that indexes product meta.

## How I go about it

1. **Checking the default behaviour** — I confirm the search only queries post_title and post_content through WP_Query’s s parameter, a plain SQL LIKE match with no relevance ranking and no typo tolerance.
2. **Finding out what shoppers actually type** — I look at what visitors really search for, in site logs or a tracking plugin: a SKU, a size, a colour. That’s exactly the kind of term that almost never returns anything.
3. **Checking the theme and existing plugins** — Some themes already extend search to the SKU. I check before adding a plugin, so I don’t duplicate an existing feature or trigger a conflict.
4. **Choosing between a plugin and custom development** — Depending on the catalogue structure, I assess whether an off-the-shelf search plugin is enough, or whether the real need requires a custom query.
5. **Implementing and checking** — I install and configure the chosen solution, or extend the query via the pre_get_posts hook, then test with the exact terms found in the previous step.

## What I handle regularly

- A shopper types a product reference and gets "no results", even though the product is live
- Search only finds a product if the title contains the exact word typed, with no variation at all
- Searching for a size, colour or attribute never returns anything
- A typo or a plural makes a result disappear that showed up a moment ago
- Search returns results, but their order makes no visible sense to the shopper

## Why WooCommerce search is this limited

WordPress’s built-in search was never designed for a product catalogue. The s parameter of WP_Query triggers a SQL LIKE match against the post title and content, here the product page: no relevance ranking, no typo tolerance, no recognition of word variants. By default it never looks at the SKU, variation attributes or custom fields, which is exactly what a shopper types when searching for a reference, a size or a colour.

That’s the single most common cause of a shopper saying "your search finds nothing" while the product is perfectly visible in the catalogue.

At configuration level, some themes already extend search to the SKU natively. Failing that, a dedicated plugin such as FiboSearch or Relevanssi adds fuzzy matching and indexes more fields without writing any code. At development level, extending WP_Query via the pre_get_posts hook to add a meta_query against _sku, or building true faceted instant search, becomes necessary when the catalogue structure is too specific for a generic plugin.

## Configuration or development: where the line sits

> Search that’s "technically working but too dumb" is usually fixed with an off-the-shelf plugin. Search that needs to understand a specific catalogue structure, or offer instant facets, needs dedicated development.

## Related pages

- **Custom WooCommerce plugin development** — When no off-the-shelf plugin matches the catalogue’s actual structure. ([/wordpress-woocommerce/extension-sur-mesure](/wordpress-woocommerce/extension-sur-mesure))
- **Connecting an external search engine via API** — Instant faceted search, for example with Algolia, needs an API integration, not just a plugin setting. ([/services/integrations-api](/services/integrations-api))
- **All WooCommerce work I handle** — Other faults and features I handle on WooCommerce. ([/wordpress-woocommerce](/wordpress-woocommerce))

## FAQ

### Why doesn’t WooCommerce search find my products by SKU?

Because WordPress’s built-in search only queries the product’s title and content, never the SKU field by default. A shopper typing a reference number gets nothing back, even though the product exists.

### Is a search plugin enough, or do I need custom development?

To extend search to the SKU and attributes and tolerate typos, a plugin such as FiboSearch or Relevanssi is enough in most cases. Development becomes necessary when the catalogue structure is specific or faceted search is expected.

### Can I fix this myself?

Installing and configuring a search plugin is within reach of a generalist. Extending the WP_Query search to the SKU with code, or building faceted search, is development work.

### Does this behave differently for product variations?

Yes: a variation (size, colour) doesn’t always have its own indexed content, it often inherits data from the parent product. That’s a frequent source of missing results on stores with many variations.
