Product Template: Display an alert only with certain tags

leocesario
New Member
4 0 0

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?

Thanks!
Leonardo

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

0 Likes
Michal17
Shopify Partner
820 73 143

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:

scrnli_22_05_2021_15-34-42.png

0 Likes