FROM CACHE - en_header

Seeking help to turn off Blog results in Shopify Search

palashfcb
New Member
3 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

Replies 5 (5)
florinanghel
Shopify Partner
136 17 30

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

palashfcb
New Member
3 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

florinanghel
Shopify Partner
136 17 30

Could you post the contents of the mentioned file?

gared432
New Member
1 0 1

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.

Rickey3456
New Member
1 0 0

Click on Online Store > Themes from your Shopify admin. Then, click Actions > Edit code on the theme you wish to modify. get it now.