Product Template: Display an alert only with certain tags

Shopify Partner
12 0 1

Hi, hoping that a good Samaritan can help me.

I want to display an alert on my Product pages, but only if a certain tag is present in the product.

Let's say: if the product contains the tag "deal", I want the product page to display the message "Amazing Deal", like in the picture below.

However, I only know HTML, but not programming.

Would someone be willing to help me?


2021-06-29 15_35_52-Fitness Mad 1.3m Resistance Tubes with Handles Only _ McSport Ireland.png

Reply 1 (1)

Shopify Partner
835 73 176

Hi @leocesario 

Hope you're having a great day!

Could you share the source code of your product page (product-template.liquid form sections) by following the steps below: