Shopify SKU search not working? Why partial SKUs return nothing, and how to fix it
A customer types a part number into your search box. You know the product is there. The search page says No results.
If you sell parts, tools, cosmetics shades or anything with model numbers, this happens more than you think. Trade buyers and repeat customers search by code, not by name.
Why it happens
Shopify's online store search does search SKUs and barcodes. But for a partial code, it only matches from the beginning.
According to Shopify's Help Center (Storefront search behavior):
- A partial search matches the first 3 to 15 characters of a SKU, or the first 3 to 10 characters of a barcode.
- Characters from the middle or end of a code don't match, unless they form a complete segment separated by hyphens, slashes or spaces.
So with a SKU of abc1888xl:
| Shopper types | Found? |
|---|---|
abc, abc18, abc1888 |
Yes, the start of the code |
1888, 888xl |
No, the middle or end |
With abc1-888-xl, typing 888 works, because 888 is a full segment between hyphens.
That is the problem. Shoppers rarely type the start of a code. They type the part printed on the box, the last digits of a barcode, or the model number without your internal prefix.
How to check your own store
- Pick a product and copy its SKU, for example
TW-4471-BLK. - On your storefront, search the last part:
4471BLKor71-BLK. - Then search the first part:
TW-44.
If only the first part works, your shoppers are hitting this limit.
Four ways to fix it
1. Put the searchable code in the title or tags
Add the part of the code that customers actually use as a product tag, for example 4471. Tags are searchable as whole words. This works for a few products, but it is manual and easy to forget.
2. Use hyphens or spaces in your SKUs
Because full segments match, TW-4471-BLK lets shoppers find 4471. Renaming SKUs affects inventory systems and marketplaces, so do it only if your other tools allow it.
3. Boost products for known codes
Shopify's Search & Discovery app lets you add product boosts for search terms. It helps for a handful of popular codes, not for a catalog of thousands.
4. Use a search app that matches any part of a code
A search app can index codes so that any fragment matches. This is what we built SearchSure for: shoppers find products by any part of a SKU or barcode, and your theme's search page and filters stay as they are. If our search does not answer within 1.5 seconds, the search box goes back to Shopify's own search, so shoppers can always search.
Before you install anything
Check your search data first. In your Shopify admin reports, look at online store searches that returned no results. If many of them look like codes, partial SKU search is worth fixing. If they look like words (couch, trainers, hoodie), you have a synonym problem instead. We cover that in How to find and fix searches with no results.
SearchSure is a Shopify app by Deplonic. Questions: weus@weuscnc.com