All things Shopify and commerce
Is there a way to have the search bar search the whole site and not just the products. So when they search a word it will look through the blogs posts and other pages.
Hello @dsmallwood82 ,
Yes it's possible.
You have to use this hidden input inside the form tag.
<input type="hidden" name="type" value="product,article,page">
Thanks
Where do I place it? How do I get there to add it?
Thanks
Hi, @dsmallwood82. I'm happy to help you out with this!
Currently using the storefront search customers can search across all of your store's products, blog posts, and pages. That being said, there are some settings that need to be in place to ensure products, pages, and blog posts are searchable. This page explains more about the settings you'll want to double check. I recommend taking a look through this whole guide on the storefront search as well. It has a lot of information explaining how the storefront search works and its limitations. If you're hoping to have more customization over your search results I also recommend you consider using the Shopify Search & Discovery app. You can learn more about the app here and you can add it to your store from the app store listing here if you're interested.
Please let me know if you have any questions!
Erin | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
I have them on active. I'm not sure regarding seo.hidden. I'm not sure where to find that to see if I need to fix it. And if so what to fix it to.
???
There are a few reasons why pages and blog posts might be missing from the Shopify Storefront search results:
(There might be other reasons, but I can't think of any at the moment.)
Is there a way to do this the other way around? As in when someone uses the search bar this only brings up the products?
It seems to bring up everything on the website linking to the specific word. Thanks,
Hey @deanewilson17
Would you be able to share some examples of the search results you are seeing and what you would like to have removed from them? This might be possible, but it could require a third party app or customization to the website for it to have that effect.
Shay | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
You can do this in the Search & Discovery app settings.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025