Metafields: Seo Hidden (seo.hidden)

Solved

Metafields: Seo Hidden (seo.hidden)

hshepherd
Tourist
6 1 1

I need to hide active products from the search, while still having them in the Online Store. I found something that said to set up a metafield called seo.hidden. However, when I try to set this up, it says that this key is already taken. After reviewing all of our other metafields, none of them match this at all. I have tried alternate metafields to hide these products, but so far nothing is working. Is there an app we can use or any sort of code we can add?

 

seo.hidden.PNG

Accepted Solution (1)

sahilsharma9515
Shopify Partner
1264 163 243

This is an accepted solution.

Hi @hshepherd have you tried to save it even if it is saying that the field and namespace is already taken? Aren't you able to save it? If not then have you checked your "Unstructured product metafields" and see if the same key is available there if it's available then you can use it, if not then you can go move to other option, by editing the search code, and add product tag.

 

So in second option you need to edit your search code, along with that add the product tag on all the products that you need to hide and fetch the information in the search code so that it will not show in the search page.

 

Providing the exact code is not possible without looking into your theme code files and what all 3rd party apps you are using.

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Replies 3 (3)

Liquid_xPert_SJ
Shopify Partner
1259 137 183

Hi @hshepherd,

 

Seems like there is already a metafield with the same key available on  your store refer to the screenshot below i have create a metafield and there is no issue while creating, you just need to check again from your store Settings > Custom Data > Products metafield and see pinned and unpinned matafields.

Alternatively you can use below app

Search Veil

 

Thanks

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂

sahilsharma9515
Shopify Partner
1264 163 243

This is an accepted solution.

Hi @hshepherd have you tried to save it even if it is saying that the field and namespace is already taken? Aren't you able to save it? If not then have you checked your "Unstructured product metafields" and see if the same key is available there if it's available then you can use it, if not then you can go move to other option, by editing the search code, and add product tag.

 

So in second option you need to edit your search code, along with that add the product tag on all the products that you need to hide and fetch the information in the search code so that it will not show in the search page.

 

Providing the exact code is not possible without looking into your theme code files and what all 3rd party apps you are using.

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


hshepherd
Tourist
6 1 1

Thanks so much! I didn't realize that it would let me publish even though it was a duplicate. You are a life saver!