Symptoms
- A shopper types a full SKU such as
AB-1234-BLKinto storefront search and the product appears, but a fragment such as1234or a differently formatted version such asAB1234BLKreturns nothing or the wrong products. - A one or two character fragment of a SKU never returns a match.
- The SKU search works on one storefront but not on another, or works for a guest but not for a logged-in B2B buyer.
- The product appears in control panel search but not on the storefront.
- A headless or custom storefront returns different results from the Stencil storefront for the same search string.
Cause
BigCommerce native search ranks fields in a fixed order. According to the Store Search help article, an exact SKU match ranks first, while a partial SKU match ranks near the bottom, after product name and description matches. A partial SKU search must be at least three characters. So a fragment may technically match but be pushed below other products, or not match at all if it is too short.
The most common causes, most likely first:
- The search string does not match how the SKU is stored. A partial SKU search can include dashes, hyphens, spaces, underscores and periods and can match any portion of the SKU, but the help article does not say separators are ignored. Treat
AB-1234andAB1234as different strings until you have tested both on your store. - The fragment is too short or too generic, so other products outrank the one you expect.
- The product is not searchable for that shopper. It must be visible, not hidden by inventory settings, and accessible to the shopper's customer group.
- On Multi-Storefront, the product is not assigned to that channel. According to configuring your catalog for Multi-Storefront, a product must be assigned to a channel before it appears on that storefront. The product-level visibility setting is shared across all storefronts, so a product hidden from one storefront is usually hidden by being unassigned from that channel.
- A different search engine is serving results. A third-party search app or a headless front end can behave differently from native search.
Resolution
- Reproduce the exact string. Copy the search term the shopper used, including hyphens, spaces and leading zeros. Search it on the affected storefront in a private browser window, then again while logged in as a customer in the same customer group as the shopper.
- Compare three searches. Search the exact stored SKU, a partial SKU of at least three characters, and the product name. If the exact SKU works but the partial does not, it is a matching or ranking issue. If none work, it is a visibility or channel issue.
- Check the stored SKU. Open the product in the control panel and compare its SKU, character for character, with what shoppers type. Watch for trailing spaces, different separators, or a prefix or suffix that came from an import or ERP feed. If the SKU belongs to a variant, test that variant's SKU separately.
- Confirm the product is searchable. Check that it is visible, not hidden by inventory settings, and available to the customer group. On Multi-Storefront, confirm it is assigned to the affected channel. If it does not appear at all, work through a visible product is missing from a storefront.
- Add alternate formats as search keywords. If shoppers use a format you do not store, such as the SKU without dashes or a manufacturer part number, add those strings as search keywords on the product's Storefront details section. Keywords are searchable, and an exact keyword match ranks above a partial product name match.
- Review search settings. The native search options are under Settings > Search in the control panel. Check them before changing the catalog.
- Identify the search implementation. If a search app is installed, test with its own preview or settings, because its SKU and substring rules are separate from native search. On a headless storefront, send the same term through the GraphQL Storefront API
searchProductsquery with thesearchTermfilter, as described in faceted and textual search, and check that no other filter, such as a category or in-stock filter, is excluding the product. - Verify the fix. Repeat the original search as a guest and as the affected customer group, on each storefront involved. The product should appear, and for an exact SKU it should be at or near the top.
If the exact stored SKU still returns nothing for a visible, assigned product, contact BigCommerce support with the store URL, the product ID, the SKU, the exact search string and the storefront or channel affected.
How to prevent it
- Pick one SKU format and enforce it in your import templates and integrations, including separators and letter case.
- Add the formats customers actually type, such as supplier or legacy part numbers, as search keywords during product setup.
- After bulk imports, spot-check a handful of SKU searches on every storefront.
- Review the search reports under Analytics > In-Store search periodically. The Keywords Without Results report lists terms that returned no products, which often reveals SKU formats shoppers use but you do not store. Add those terms as keywords on the matching products.
B2B and ERP considerations
B2B buyers often search by part number from a purchase order or an old catalog, so the format they type may come from your ERP rather than your storefront. If a connector writes SKUs to BigCommerce, check whether it adds prefixes, pads with zeros or strips separators. Fix the format at the source, or have the integration write the alternate forms into search keywords, rather than editing products by hand where the next sync would overwrite them. On Multi-Storefront, also confirm the connector assigns new products to every channel that should sell them.
Related problems to check
- Logged-in shoppers cannot see prices in Cornerstone quick search
- A product import creates a second record or updates the wrong item
- An option needs its own SKU or a different product image
Related articles
- A visible product is missing from a storefront
- Logged-in shoppers cannot see prices in Cornerstone Quick Search
- A customer sees the wrong contract or group price
- A category looks empty after a change
- All variants display the same price
More in the BigCommerce knowledge base, including every article on Catalog, pricing and search.