We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

storefront search showing pages when customers search for product

storefront search showing pages when customers search for product

LeFoCo
Tourist
8 0 17

Hi,

 

I'm using the Dawn theme and having a problem with Storefront search.  When searching for products the results displays pages and not just products.  

I've tried using solutions from:

https://community.shopify.com/c/shopify-design/blog-and-pages-text-showing-up-in-the-website-search-...

and

https://community.shopify.com/c/shopify-design/search-bar-on-debut-theme-showing-pages-instead-only-...

and read through

https://shopify.dev/themes/navigation-search/search

 

but adding the recommended code, 

<input type="hidden" name="type" value="product" />

has not changed the search results I'm seeing.

 

search result for "exclusive"search result for "exclusive"code inserted, grey linecode inserted, grey line 

Any help is appreciated.

 

LEFoCo, a Squishmallow and plush only extension of learningexpress.com/foco.
Replies 0 (0)