Clickable tag links

Highlighted
Excursionist
29 0 4

Hi,

 

Can anyone tell me how to add tag links in product descriptions?

 

Thanks!

0 Likes
Highlighted
Shopify Partner
902 193 351

@csimacc 

 

You can try this code in your theme product file:

<div id="product-tags">
<span class="tagged">Tagged</span>
{% for tag in product.tags %} +
{% capture url %}/collections/all/{{ tag | handle }}{% endcapture %}
{{ tag | link_to: url }}
{% endfor %}
</div>

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes