When I open the search pop-up from the home page, type “about us,” and press Enter, I am redirected to the search page. It correctly shows no products found, but it still displays “3 items” near the sort/filter section. How can this be resolved?
It would be a good idea to share a storefront (or preview) password so that we can see your store.
This is just me guessing but this could be because your theme is counting all search results for example blogs, pages but the template is set to show just products. I asked AI to show a quick fix, you can check to see if it works. Go find search.liquidin Themes → Edit Code then look for {{ search.results_count }} and replace with {{ search.results | where: “object_type”, “product” | size }} to make sure the results only count products search where it matches what template is set to show.
Again, this is just one thing you can try and based on Dawn theme, I’m not sure which one you’re using tho.
Hi @kevalt,
Go to online store > edit code > in section folder go to main-search.liquid file and after this line paste this
<input type="hidden" name="type" value="product">
Next step;
In snippets folder go to header-search.liquid file > after inpput tag paste this
<input type="hidden" name="type" value="product">
Ah, that could happen if the theme was modified to filter search results in liquid, say only show products by checking result type in liquid loops.
So the code skipped 3 results which were pages and articles, therefore counter mismatch.
Now, search results contain only products to start with so counter shows properly.
Hi, @kevalt
This usually happens because the Horizon theme is still counting all search resource types (such as pages or blog articles) in search.results_count, while the template only renders products.
In short:
- Shopify search is still finding pages/articles
- Horizon only renders products
- The result counter is not filtered accordingly
- Therefore “3 items” appears even though no products are shown
This happens because Shopify’s default search looks for **Products, Pages, and Blog posts simultaneously. The “3 items” count likely includes your “About Us” page, “Contact” page, or a blog post, even though they aren’t showing up in the product grid.
To fix this, you can either:
-
Change Theme Settings: In your Theme Editor, check if there’s an option to limit search results to “Products only.”
-
Edit Code: Modify your main-search.liquid file to ensure the counter only tracks search.results_count for the product type.
To make your actual products stand out more in search results and prevent customer confusion, using clear badges is a great fix. Check out Deco Product Labels to highlight your items effectively


