Product Taxonomy
The product_taxonomy
object describes the taxonomy for a product, including its attributes and category.
Usage Example
{%- comment -%} Show taxonomy attributes and category {%- endcomment -%}
<ul>
{% for attribute in product_taxonomy.attributes %}
<li>{{ attribute.translated_name }}</li>
{% endfor %}
</ul>
<p>Category: {{ product_taxonomy.category.google_product_category }}</p>
Properties
attributes
Returns the attributes for this taxonomy.
category
Returns the category for this taxonomy.
Last updated on