Here’s a refined approach to hide the add-on products from appearing in Shopify search results while ensuring they remain available for purchase on the store, using the seo.hidden metafield:
Step 1: Creating a Metafield Definition to Hide Products From Shopify Search #
- From your Shopify admin, navigate to Settings and then select Custom Data.
![shopify hide product from search](https://easifyapps.com/wp-content/uploads/2023/10/shopify-hide-product-from-search-1024x503.png)
- Under Metafields, click on Products.
![hide products from search shopify](https://easifyapps.com/wp-content/uploads/2023/10/hide-products-from-search-shopify-1024x537.png)
- Next, click Add definition.
![hide products from shopify search](https://easifyapps.com/wp-content/uploads/2023/10/hide-products-from-shopify-search-1024x537.png)
- Give your metafield definition a Name, such as “Hide Products From Shopify Search”.
- In the Namespace and key field, enter “seo.hidden”.
- Add a concise metafield description, like “Hide active products from Shopify Search”.
![seo hidden shopify](https://easifyapps.com/wp-content/uploads/2023/10/seo-hidden-shopify-1024x537.png)
- Click Select Type, search for “Integer”, and select it.
![shopify seo hidden metafield](https://easifyapps.com/wp-content/uploads/2023/10/shopify-seo-hidden-metafield-1024x537.png)
- Finally, click Save.
Step 2: Enabling the Hide Products Metafield for the Products #
- Return to the Products section in your Shopify admin.
![shopify search hide products](https://easifyapps.com/wp-content/uploads/2023/10/shopify-search-hide-products-1024x322.png)
- Select the products that you want to hide from search in Shopify.
- On the product editing page, scroll down to the bottom.
- Here, you’ll find a new section for Metafields, including the “Hide Products From Shopify Search” metafield you created earlier.
- Enter “1” to indicate “Yes” for hiding the product you’re currently editing from Shopify search.
![hide product but keep it buyable on Shopify](https://easifyapps.com/wp-content/uploads/2023/10/hide-product-but-keep-it-buyable-on-Shopify-1024x538.png)
- Save the product, and you’re all set.
You can now visit your storefront to test whether the product is indeed hidden from internal Shopify search.
ATTENTION #
The above guide solely focuses on hiding products from search results. However, if these hidden products are also included in a collection, they will continue to be displayed on the collection page or the homepage featuring that collection.
To ensure complete invisibility of addon items from both search and collection views, it’s essential to exclude them from the collection altogether.
Alternatively, you can create a collection specifically for these hidden products but ensure that this collection remains invisible on the storefront.
Need Assistance? #
If you run into any challenges while hiding your Add-on Products, feel free to reach out to us for assistance through our convenient in-app live chat, by submitting your request via our contact form, or by sending an email to support@tigren.com. We’re here to help!