Articles on: Frequently Asked Questions

How to hide Add-on product from Recommendation?

As you know, our app provides an add-on product feature to create option charge and increase the main product price when choosing a specific option value – of course – these add-on products, in some cases, are not for sale. In this article, we will help you to hide these add-on items from Recommendations

Step 1: Go to your Online Store > Themes > From your current theme, choose Edit code.




Step 2: Find the product-recommendations.liquid and paste these following code :


{% unless recommendation.tags contains "_hidden" %}
 {% endunless %}


After you paste, the code should look like this:



The theme we show in the screenshot here is from the Dawn 2.0 theme, so if you're using another theme and could not find the exact place to paste the code, please feel free to contact to our support team, we will have a closer check on it.

Step 3: Add tag _hidden to product


For each add-on product that you want to hide from Recommendations, please add the tag _hidden as shown in the screenshot below.

Go to your Shopify admin panel
Navigate to the "Products" section.
Select the specific product you want to edit
Scroll down to the Tags section and add the tag _hidden



Finally, click Save.

After you have added the _hidden tag to the desired add-on products, they should no longer appear in the Recommendations section.

Hopefully this article has helped you hide products from Shopify Search and Recommendations. Things change all the time, so if you run into issues please don't hesitate to share them with us at support@tepo.app or use the in-app live chat. We're happy to lend a hand 🤩

Updated on: 11/03/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!