Getting tags for each product on the top page

Getting tags for each product on the top page

takatog
Tourist
11 1 1

Hello, I'm trying to get tags for each product on the top page.

I would like to display a tag for each product under the product image on the top page.
Is there any way to do this?

If I use the following code in the theme "Dawn", I can display them on the "product page (product-thumbnail.liquid)", but not on the "top page (card-product.liquid)".

 

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

Replies 0 (0)