I am using the Dawn theme, I want to be able to hide some products from all customers and also keep it from being searched. I would still need the product to be buyable from a direct link. How can I do this without an app with a monthly fee.
For example: I want to have a special bundle at a discounted price for an advertiser, I only want customers with the link from that advertiser to be able to reach that product.
If I make a collection of hidden items they are still pulled up when the key word of one of the items is put in the search bar.
Thank you.
2 Likes
Hi @GetTheTea ,
Shopify provides a method to hide products in your store from Google and other search engines. Using this method also hides the product from Shopify’s site search.
Basically, you need to set the seo.hidden metafield for the product to ‘1’ (stored as an integer). You can edit it in the bulk editor:
However, the product still can appear under the search recommendation. Therefore, you’ll need to disable product suggestions
- Navigate to Theme Settings and uncheck “Enable product suggestions”
I hope this answer can help you achieve your business goal.
1 Like
Hi @GetTheTea
I understood your concern. I came to know that you can hide products from the search page using meta field logic.
Please check attached the link : https://www.ilanadavis.com/articles/hiding-products-from-search-engines-using-metafields-in-shopify
I hope this can help you to resolve the issue.
1 Like
Hi @GetTheTea ,
I’m jumping in to shed some light on the metafield method of hiding the products from the search results suggested by AvadaCommerce . That’s a great solution, but you may need further explanation in case you’re new to metafields.
In accordance with the official Shopify documentation, in order to exclude a product from the search results, one has to create a metafield with the following attributes:
1) namespace: “seo”
2) key: “hidden”
3) value: “1”
4) type: “number_integer”
Here’s what this setup would look in our app, for example:
There are multiple different options to populate metafields at no additional cost:
-
You can do that with the completely free plan of our app (link to the Shopify app store listing). It can be used to manually create an unlimited amount of metafields for any resource type and has a great UI. Basically, it’s a fully functional metafields editor for manual data management.
-
You can do that by creating a metafield definition with the same settings.
-
You can do that using the method suggeted by AvadaCommerce.
1 Like
Thank you so much, this worked for what I needed to do. I appreciate your help.
I am also trying to get my freebie book hidden from my Shopify store page. I tried the above, got to a page that looked right, and tried to add the number 1 on the field. I got this message: “1 invalid value found. Update the invalid value, then save again.” There was an exclamation mark next to 1 and when I clicked on it, I got the below message. What should I write in the field to hide the product from my store?
- Type must be one of the following: boolean, color, date_time, date, dimension, float, integer, json_string, json, list.boolean, list.color, list.date_time, list.date, list.dimension, list.multi_line_text_field, list.number_decimal, list.number_integer, list.rating, list.single_line_text_field, list.url, list.volume, list.weight, money, multi_line_text_field, number_decimal, number_integer, rating, rich_text_field, single_line_text_field, string, url, volume, weight, file_reference, page_reference, product_reference, variant_reference, metaobject_reference, mixed_reference, collection_reference, customer_reference, order_reference, list.collection_reference, list.file_reference, list.metaobject_reference, list.mixed_reference, list.page_reference, list.product_reference, list.variant_reference.