Advertisement
ikai2

display a specific product tag

Sep 20th, 2022
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.20 KB | None | 0 0
  1. <ul class="product-tags" style="list-style: none; padding: 0; margin: 0;">
  2. {% for tag in product.tags %}
  3. {% if tag contains "name-of-the-tag" %}
  4. <li>{{ tag }}</li>
  5. {% endif %}
  6. {% endfor %}
  7. </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement