bootic.net: product.html listar atributos

{% if product.product_type %} <ul class="product-attributes"> {% for field in product.attributes %} {% if field.value != '' %} <li class="attribute-{{field.key}}"> <strong>{{ field.name }}:</strong> <div>{{ field.value }}</div> </li> {% endif %} {% endfor %} </ul> {% endif %}

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.