Seeking help to turn off Blog results in Shopify Search

palashfcb
New Member
2 0 0

Hi,
I operate an online jewellery store on Shopify and our team writes quite a few blogs every week for SEO. 
Whenever we search for a product, the blog pages also come in the search results. I dont wish to do that. 

Is there anyway I can turn off blog results in search and only show products?

 

Thanks in advance

0 Likes
florinanghel
Shopify Partner
102 15 17

https://shopify.dev/docs/themes/liquid/reference/objects/search#search-results

If you are using shopify's search you can filter out results by object type in search.liquid

0 Likes
palashfcb
New Member
2 0 0

Hi @florinanghel ,
Thanks for your prompt reply.
I have no experience in coding and I dont want to break the website.
Would it be possible for you to guide me how to go about it?

 

Thanks in advance

0 Likes
florinanghel
Shopify Partner
102 15 17

Could you post the contents of the mentioned file?

0 Likes
gared432
New Member
1 0 0

yes I have also the similar issue in the start of myblog and then someone give me the right path from shopify I will suggest you to go there for more detailed guidance about it because i suggested that solution to many friends and they are satisfied now.

0 Likes