{% load i18n %}

{% trans 'Property Groups' %}

{% if not shop_property_groups %} {% trans "There are no property groups yet." %} {% else %}
{% csrf_token %}
{% if display_configurables %}
{% csrf_token %}

{% trans 'Default values' %}

{% for property_group in configurables %}
{{ property_group.name }} {% for property in property_group.properties %}
{% if property.display_text_field or property.display_number_field %} {% endif %} {% if property.display_select_field %}
{{ property.title }}:
{% endif %}
{% endfor %}
{% endfor %}
{% endif %} {% if display_filterables %}
{% csrf_token %}

{% trans "Filter values" %}

{% for property_group in filterables %}
{{ property_group.name }} {% for property in property_group.properties %}
{% if property.display_text_field or property.display_number_field %} {% endif %} {% if property.display_select_field %}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %} {% if display_displayables %}
{% csrf_token %}

{% trans "Displayed values" %}

{% for property_group in displayables %}
{{ property_group.name }} {% for property in property_group.properties %}
{% if property.display_text_field or property.display_number_field %} {% endif %} {% if property.display_select_field %}
{{ property.title }}:
{% endif %}
{% endfor %}
{% endfor %}
{% endif %} {% endif %} {% if product_variant_properties %}

{% trans "Variant properties" %}

{% for property_option in product_variant_properties %}
{{ property_option.property.title }}: {{ property_option.name }}
{% endfor %} {% endif %} {% if shop_property_groups and product.is_product_with_variants %}

{% trans "Property values" %}

{% trans "Please go to the variants to assign property values." %} {% endif %}