Shopify Search Not Working? Check Predictive and Regular Search
Short answer
Start by separating predictive search—the suggestions shown while a shopper types—from regular search, which shows a results page after Enter. Test a known query on the published storefront, then check the query and product eligibility. If results still differ from expectations, compare result types in Search & Discovery and investigate search apps, custom code, and the theme before editing anything.
- Shopify built-in online-store search is the default storefront search that can return products, blog posts, and pages.
- Built-in search includes predictive search and regular search, so a problem with suggestions is not automatically a problem with the results page.
- Predictive search suggests results while a customer types, before they press Enter; regular search displays a results page after they enter a term and press Enter.
- Built-in search matches complete words, which means a partial word might not find a product whose title contains the full word.
- Stopwords are common words that are not indexed for search; searching for a stopword by itself returns no results.
Identify which search behavior is failing
Shopify built-in online-store search is the default storefront search that can return products, blog posts, and pages. It includes predictive search and regular search, so a problem with suggestions is not automatically a problem with the results page.
Predictive search suggests results while a customer types, before they press Enter; regular search displays a results page after they enter a term and press Enter. Treat them as separate checks: enter a known query on the published storefront, note whether suggestions appear, then submit that same query and inspect the results page.
Start with a query you know should match a visible, searchable product. If both experiences fail, investigate the query, product eligibility, or what is powering search before changing theme code. If regular results work but suggestions do not, focus on predictive search settings and the theme behavior that presents suggestions.
If the screen you mean is Shopify Live View rather than the storefront search box, treat it as a separate troubleshooting issue and use Live View guidance; this article covers shopper-facing storefront search.
Check the query and whether the product is searchable
A query can return nothing even when a product seems relevant, so check what the shopper typed before assuming search is broken. Built-in search matches complete words, which means a partial word might not find a product whose title contains the full word.
Stopwords are common words that are not indexed for search; searching for a stopword by itself returns no results. Test with a distinctive, complete word from the product title instead of a short fragment or a common connector. This gives you a cleaner comparison when you test the published storefront.
Next, confirm that the product is not set to Unlisted. Products with Unlisted status are excluded from built-in online-store search. If the product is eligible but still absent, check whether the store uses an app or custom search experience before changing its title or other product data.
Also check whether the query uses search syntax. Searches that use search syntax do not receive typo tolerance, predictive search, or semantic understanding. If a shopper’s query includes syntax, compare it with a plain-language version before treating the difference as a theme defect.
Compare predictive search with the regular results page
Predictive search and regular search request result types separately, so the suggestions and the submitted results page can show different kinds of content. A product appearing in one experience but not the other does not, by itself, prove either one is malfunctioning.
Use Shopify Search & Discovery to check which result types are requested for predictive search and for regular search. Compare those settings with the type of result the shopper expects to see, and test the same query in both experiences. Avoid changing settings until you have identified which experience is missing the expected type.
If the requested types look right, record what each experience actually shows and move on to the app and theme checks. Keeping the query and expected result consistent makes it easier to tell a configuration difference from a rendering issue.
Check apps and custom search before changing the theme
Before debugging built-in search, establish whether the storefront is using it. A third-party search app can power online-store results instead of Shopify’s built-in search behavior, and an app that modifies the theme’s search template might affect results.
For unexpected results, check for a third-party search app, verify that the product is not Unlisted, and rule out a stopword query. If an app powers search, investigate its configuration and documentation rather than assuming built-in search behavior applies. If an app modifies the search template, include that change in your investigation.
A custom search experience built with the Storefront API runs independently of the default results page. If a developer built one, trace the code that handles its query and displays its response; changing the default results template may not address an issue in that separate experience.
This distinction helps avoid a common detour: editing theme markup when the results are controlled elsewhere. Identify the search implementation first, then investigate the component that actually supplies or displays the results.
Inspect theme search code safely
If the issue appears only in the theme—for example, the submitted results are available but the page or predictive dropdown does not display them—inspect the relevant search form, template, and custom scripts. Built-in online-store search requires no setup or theme change, so start by looking for changes that may have altered the storefront’s search behavior.
Duplicate the theme before editing so you can discard the changes and return to the original if an experiment causes a new problem. Then use the theme code editor’s search across files to locate search-related forms, templates, and scripts. Follow references from the visible search box to the code that submits the query or renders the response; avoid broad edits until you know which path is failing.
Change one thing at a time and retest both predictive suggestions and the regular results page with the same known query. This isolates whether a change affects submission, display, or only one search behavior. If the issue started after an app or theme customization, compare the relevant code or configuration with the version before that change.
Run Theme Check on edited code as part of the review. It can flag parser-blocking scripts and missing templates in edited code; use those findings as leads, then verify the actual storefront behavior. A clean check is not a substitute for testing the two search experiences.
Set expectations for relevance and result types
Not every ordering difference is a defect. Merchants can influence search relevance through product data and Search & Discovery, but cannot set the ordering of results. Review whether product information clearly reflects the terms shoppers use before trying to force a particular item into a position.
Completely out-of-stock products appear at the end of results by default. Take availability into account when comparing an expected ranking with what the storefront displays, and distinguish a lower position from a missing result.
Built-in search includes up to two pages or articles, and only on the first results page. If a page or article is missing, check whether the result type is requested and whether you are looking at the first page before concluding that the search template has failed.
The useful outcome of this triage is a specific failing layer: query matching, product eligibility, requested result types, an app or custom implementation, or theme rendering. Keep a record of the query, where it fails, and what you changed; that makes the next check focused instead of turning troubleshooting into a series of unrelated edits.
Questions
- Why does a product not appear when I search for part of its name?
- Built-in search matches complete words, so a partial word might not match the full word in a product title. Test with a complete, distinctive word and confirm the product is not Unlisted.
- Why does a search for a common word return no results?
- Common words classified as stopwords are not indexed, and searching for a stopword alone returns no results. Try a distinctive word from the product or page instead.
- Why do predictive suggestions differ from the regular search results page?
- Predictive search and regular search request result types separately. Check the requested types for each experience in Shopify Search & Discovery.
- Can an app or custom search change what shoppers see?
- A third-party search app can power results instead of built-in search, and a custom Storefront API search experience runs independently of the default results page. Identify which implementation the storefront uses before editing theme code.
