Display product tags on product page - Dawn 7.0.1

Hello

I have created some tags for my products while i added them to the store, how can i display these so on the productpage without messing things up?

Thanks in advance. :slightly_smiling_face:

My store:

www.dekanten.no

1 Like

Hi @Dekanten

Thank you for reaching out to the Shopify community.

For adding product tags in product page just go to your theme code editor, and search for file named main-product.liquid in Sections folder. Add the below code just above the price div.


   {% for tag in product.tags %}
     {{ tag }}
   {% endfor %}

Screen shot for reference -

You can modify the styling of the tags as well by making changes in your base.css file.

The product tags should now appear on your product page.

Do give it a try and let me know if this was helpful.

Thanks.

3 Likes

Thank u so much, it works quite well so im pleased with this solution. :slightly_smiling_face:

Is is possible to add something like this - between the tags?

Damer - Herrer - Unisex - Nisje

2 Likes

same thing here! How to separate them.

1 Like

Nicely works, thanks, but I wonder if tags can be hyperlinked ?

Edit: just found the solution elsewhere, thank you.

Hi there. Could you share the link to your solution for adding the hyperlink to the tags please?