---
title: "GUIDE: Hide a product from Shopify's recommended products"
url: https://help.biscuitsbundles.com/en/articles/11406005-guide-hide-a-product-from-shopify-s-recommended-products
collection: "Customisation Guides"
updated: 2026-11-12
language: en
---

# GUIDE: Hide a product from Shopify's recommended products

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_2366.png)

#   
IMPORTANT UPDATE

Shopify have now released an **'UNLISTED' product status** which will automatically prevent a product from appearing in product recommendations and site search.

You can read more about the unlisted status here:

[https://help.shopify.com/en/manual/products/details/product-details-page#unlisted-products](https://help.shopify.com/en/manual/products/details/product-details-page#unlisted-products)

We still recommend removing the buy button in the theme editor for all unlisted products if they should not be purchased individually.

Unlisted status and a hidden buy button only change what shoppers see on your theme. A cart can still be created directly from a product's variant ID, for example by an AI shopping agent, a cart link or another app, through any sales channel the product is published to.

**If the product is a bundle component, also remove it from every sales channel except Online Store.** The bundle needs Online Store, so keep that one. [Step 3 of our guide to hiding bundle component products shows how.](https://help.biscuitsbundles.com/en/articles/9566318-guide-how-to-hide-bundle-component-products-on-your-store.md)

* * *

# Customisation Guide

In this guide we will update our store to exclude certain products from Shopify's default product recommendation section.  
​

**In this guide:**

-   We will duplicate our stores theme.
    
-   We will edit our themes product-recommendations.liquid file to ignore products with a certain tag from outputting in product recommendation sections.
    

This is an advanced guide intended for developers

## Before we begin

This guide involves editing theme code. If that is not your cup of tea feel free to reach out to the Biscuits Bundle team to help you out!  
​

**Quick note**

Shopify does not have an automatic tag value, metafield to help exclude a product from your stores product recommendations. The `seo.hidden` metafield is used to hide products from search results but does not affect product recommendations. Instead you will need to either adjust some code in your stores theme with a tag (explained in this guide) or manually set the recommended products in the Shopify search and discovery app.

* * *

## 1\. Create a development theme

First we will create a development theme so any changes we make **DON'T** appear on your live store until we have tested and are happy with them.

Open Online Store > Themes in Shopify admin and click the three dot menu next to customise on your published theme, then choose "**duplicate**".

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_9922.jpg)

Click the three dot menu on this copied theme and rename it i.e "Dawn | Biscuits Customisation"  
Then using the three dot menu again, click "edit code" on our new development theme.

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005952_7888.jpg)

* * *

## 2\. Find the related-products.liquid file (or similar)

Now we need to find the correct related-products.liquid file to edit in your theme.

Because every theme can be different, the file you edit for this step may vary a lot.

We are using Dawn theme for the example today.

Because every theme can be different, the file you edit for this step may vary a lot.

1\. Use the search bar in the top left to search "**related-product**" and look inside the sections folder.

You should see a `related-products.liquid`

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_3573.png)

* * *

## 3\. Update your related-products.liquid file

Now we have the correct file we need to update the recommendations.products loop to ignore products with the tag 'hidden'

1\. Search for `recommendations.products` the code may look similar to this,

```javascript
{% for recommendation in recommendations.products %}
```

  
2\. Paste the following code under this `for` tag, effectively telling the loop to skip products with the tag 'hidden'.

```javascript
{% if recommendation.tags contains 'hidden' %}{% continue %}{% endif %}
```

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_3071.png)

* * *

## 3\. Tag the product

Now we will tag the products we don't want included in the Shopify recommended products section.

1\. Find your product in Shopify admin > **products**  
2\. Add the 'hidden' tag to your product

3\. Hit save  
​

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_1257.png)

* * *

## 4\. Check the product is no longer outputting in recommended products

1.  Preview your development theme and visit the product page where the product was displaying as a recommended product
    
2.  Confirm it is no longer displaying
    

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005954_0481.png)

* * *

##   
  
5\. Publish development theme

Once you have tested your code changes on your development theme thoroughly, you can publish this theme to be live!

![](https://staticfiles.gleap.io/helpcenter/65b350631ff56ccfb3879048/20260331005953_6244.png)

This will make your changes published and visible to your customers.

* * *

## Conclusion

Thats it! If you made it to the end successfully well done! If not, don't be afraid to reach out to the Biscuits Bundle team for help.

**Stuck or got questions?**

Use the chat widget below, or reach out to us at [hello@sundaelane.com](mailto:hello@sundaelane.com)

Happy coding, and thanks for teaming up with Biscuits Bundles!
