Skip to content

Shopify Dude Fix

Why Can’t Customers Find a Shopify Product by SKU?

Shopify storefront search not finding products by SKU? Learn why predictive search omits SKU by default and how to add variants.sku safely.

Quick answer: Shopify admin can find SKUs, but many storefront predictive-search implementations do not request the SKU field. Shopify’s Predictive Search API supports variants.sku, but themes must include it in the requested fields.

The real symptom

A customer enters an exact SKU in storefront search and sees no result, loosely related products, or a result only after pressing Enter, while admin search finds the SKU immediately.

Likely causes

  • Predictive search and full search results use different requests.
  • The theme omits variants.sku from resources[options][fields].
  • A third-party search app overrides Search & Discovery settings.
  • Quick search UI searches only titles, vendors, types, or variant titles.

Confirmed Community fix

A recent Community case traced the issue to the predictive-search request. The fix was to add variants.sku to the request field list instead of trying to alter displayed results after the response arrived.

Exact admin path

  1. Confirm the variant SKU under Products.
  2. Go to Apps → Search & Discovery → Settings.
  3. Confirm product results are enabled for predictive search.
  4. Test SKU in the dropdown and the full search page.
  5. If only predictive search fails, edit the theme and search for /search/suggest or resources[options][fields].
  6. Add variants.sku to the requested fields.

Simple checks

url.searchParams.set('resources[type]', 'product');
url.searchParams.set(
  'resources[options][fields]',
  'title,product_type,variants.title,vendor,variants.sku'
);

In DevTools, inspect the search/suggest request and confirm variants.sku is present.

Do not do this

Do not stuff SKUs into product titles or descriptions to make search work. Request the supported SKU field directly.

Sources