Product Taxonomy Attribute
The product_taxonomy_attribute
object describes a taxonomy attribute for a product, such as color or material.
Usage Example
{%- comment -%} Show taxonomy attribute and its values {%- endcomment -%}
<strong>{{ product_taxonomy_attribute.translated_name }}</strong>:
<ul>
{% for value in product_taxonomy_attribute.values %}
<li>{{ value.translated_name }}</li>
{% endfor %}
</ul>
Properties
handle
Returns the handle.
id
Returns the id.
name
Returns the name.
translated_name
Returns the translated name.
type
Returns the type.
values
Returns the values for this attribute.
Last updated on