Step 1: Create a custom Metafield in Shopify Admin
This workflow requires that you create a custom Metafield within Shopify Admin. You can follow the screenshots below on where to access this feature.
First, navigate to the Settings page in your Shopify Admin, then click on Custom data:
Next, click on Products then Add definition:
Label the new product metafield definition "Hide Product" in the Name field, and then input "seo.hidden" under Namespace and key as shown below. Then click Select type and select "Integer", and save your changes.
For context, the "seo.hidden" metafield is often used to control visibility or manage SEO-related content that you might want to keep hidden from search engines.
Step 2: Update the Product Settings
Next, navigate to the Product's settings in Shopify Admin for the product you wish to hide, then scroll down to the Metafields section. Within the Metafields section, add a value of "1" in the Hide Product metafield text input field as shown below. Be sure to save your changes.
⚠️ WARNING: If you have automatic Collections, then go into those Collections and make a ruleset to prevent them from auto adding to the product type "hidden" which you created in the previous steps. If a product remains assigned to a Collection, it will NOT be hidden.
We recommend testing your store's search functionality to locate the product. If it still appears in search results, you can follow the instructions to hide the product from Shopify search and/or remove the "Add to Cart" button on the product page to prevent customers from adding it to their cart.
Please note that Rebuy does not have control over the above workflows as these are controlled by Shopify. If you are still experiencing issues with the above, please reach out to Shopify Support for assistance.
🚨 NOTE: If you wish to prevent the product from being surfaced in Rebuy widgets that are using the Recommended AI endpoint, you will need to ensure you follow the steps in the guide linked below to apply the 'exclude_rebuy' product tag to the product's settings in Shopify Admin.
Once you have added the product tag in Shopify, be sure to resync your product data in Rebuy Admin by following the guide linked below to ensure that Rebuy detects the newly applied product tag.
And... you're done! You can now return this product to a Rebuy widget via the attached Data Source, it can be added to the cart and purchased, all the while users will not be able to find this product on your online store!
Migrating from other third-party Metafield apps
If you were previously using a third-party metafields app (such as Metafields Guru), you may run into an error message that states "Namespace and key are already taken":
If the above error occurs, you will need to perform the below workaround steps:
Copy to the below URL and swap out the '
yourdomain.myshopify.com
' text with the shop URL domain for your store:https://yourdomain.myshopify.com/admin/settings/custom_data/product/metafields/migrate/seo/hidden
This will then take you to a fresh new page to add product definition(s)
Next, scroll back up to the Steps 1 and 2 above, and follow same process to create a custom Metafield in Shopify Admin and apply the Metafield to your product's settings.
FAQs
Q: What should I do if the Shopify product page for the product remains visible?
If the product page of the gift is not concealed, this guide will demonstrate a workaround by eliminating the Add to Cart Button from the gift's product page.
Q: What should I do if a hidden product appears in the search results but I don’t want it to?
If you’d like to hide the product from Shopify search then follow the steps outlined in the Hide Products From Shopify Search article.
Q: Why is my hidden product showing up in Rebuy widgets?
If you’d like to prevent the product from showing up in Rebuy widgets then follow the steps outlined in the Hide Products From Being Recommended guide here.