I’m trying to search an easy ways to hide a specific product from:
SEO
Shopify predictive search
Shopify search page
In the docs many people mentioned that you can use a metafield called “seo.hidden” and just change the value for the product to 1. For some reason this metafield is already declared but not editable. The only way I can access the metafield is by the bulk editor link "
If you need to update a bunch of products at once I would also recommend our app, the Ablestar Bulk Product Editor. Using the free plan you can do bulk updates on metafields that match almost any set of conditions (eg, set seo.hidden to one for all products created more than 10 days ago that don’t have an image):
Hey @Ablestar_Daniel
It is possible to hide just only on the storefront but not on Search engines.
Or hide on search engines but not on storefront using this approach?
Hi @abrar_anwar , the above method will hide the product from search engines but not the storefront.
As far as I know, the product will have to be visible on the web for the search engines to index it so I don’t think there’s a way to only make it visible on search engines.
Is there a way to hide add-on products on the storefront? I have add-on products to my core product that I don’t want to show up when someone searches all products on my storefront.
Hi! I saw someone else find a workaround for hiding products on the store front. You have to create a collection with the url “all” because collections/all is where “all products” are located by default. You can rename the collection title to something else though, like “All Products”. Put all of your products into this collection that you want visible. Then, just make sure your hidden products are not in any collection.
This worked for me, and my “hidden” products do not come up when searching in my store or clicking view all.
After more searching and experimentation, I’ve found a solution to hide items from INTERNAL SEARCH only, but not SEO engines.
It’s a bit of a hack, but I’ve tested and it works for me.
Implement the solution exactly as above, but make the seo.hidden field a ‘Single line text’ instead of an ‘Integer’ type.
That way, it’s hidden from your internal search, but the theme code that checks this field must ignore it before of the switch to the type…
I do think there should be a better way that we don’t have to hack our way around, but right now this works, so I wanted to update the thread!