Product Taxonomy Value
The product_taxonomy_value object describes a value for a product taxonomy attribute. It provides access to the value’s id, handle, name, translated name, color information, and standard/custom state.
Usage Example
{%- comment -%} Show taxonomy value name, handle, and color info {%- endcomment -%}
<span>{{ product_taxonomy_value.translated_name }} ({{ product_taxonomy_value.handle }})
{% if product_taxonomy_value.color %}
<span style="background: {{ product_taxonomy_value.color.hex }};">●</span>
{% endif %}
</span>Properties
translated_name
Returns the translated name.