{% load i18n lfs_tags %}

{% trans 'Data' %}

{% trans "General" %}
{{ form.active.label_tag }}:
{{ form.active }}
{% if product.is_variant %} {{ form.active_name }} {% endif %} {{ form.name.label_tag }}:
{% if form.name.errors %}
{{ form.name }} {{ form.name.errors }}
{% else %}
{{ form.name }} {% if product.is_variant %} {{ product.parent.name }} {% endif %}
{% endif %}
{% trans "Urls" %}
{{ form.slug.label_tag }}:
{% if form.slug.errors %}
{{ form.slug }} {{ form.slug.errors }}
{% else %}
{{ form.slug }} {% if product.is_variant %} {{ product.parent.slug }} {% endif %}
{% endif %}
{% trans "Redirect to" %}
{% trans "Article numbers" %}
{% if product.is_variant %} {{ form.active_sku }} {% endif %} {{ form.sku.label_tag }}:
{% if form.sku.errors %}
{{ form.sku }} {{ form.sku.errors }}
{% else %}
{{ form.sku }} {% if product.is_variant %} {{ product.parent.sku }} {% endif %}
{% endif %}
{{ form.manufacturer.label_tag }}:
{% if form.manufacturer.errors %}
{{ form.manufacturer }} {{ form.manufacturer.errors }}
{% else %}
{% if product.is_variant %} {{ product.get_manufacturer|default_if_none:"-" }} {% else %} {{ form.manufacturer }} {% if form.manufacturer.is_hidden %} {% endif %} {% endif %}
{% endif %}
{{ form.sku_manufacturer.label_tag }}:
{% if form.sku.errors %}
{{ form.sku_manufacturer }} {{ form.sku_manufacturer.errors }}
{% else %}
{{ form.sku_manufacturer }}
{% endif %}
{% trans "Prices" %}
{% if product.is_variant %} {{ form.active_price }} {% endif %} {{ form.price.label_tag }}:
{% if form.price.errors %}
{{ form.price }} {{ form.price.errors }}
{% else %}
{{ form.price }} {% if product.is_variant %} {{ product.parent.price|currency }} {% endif %}
{% endif %}
{% if not product.is_variant %}
{{ form.tax.label_tag }}:
{% if form.tax.errors %}
{{ form.tax }} {{ form.tax.errors }}
{% else %}
{{ form.tax }}
{% endif %}
{% endif %} {% if product.is_configurable_product %}
{{ form.active_price_calculation }} {{ form.price_calculation.label_tag }}:
{% if form.price.errors %}
{{ form.price_calculation }} {{ form.price_calculation.errors }}
{% else %}
{{ form.price_calculation }}
{% endif %}
{% endif %}
{{ form.price_calculator.label_tag }}:
{% if form.price.errors %}
{{ form.price_calculator}} {{ form.price_calculator.errors }}
{% else %}
{{ form.price_calculator }} {{ form.price_calculator.help_text }}
{% endif %}
{% if product.is_variant %}
{{ form.for_sale.label_tag }}:
{{ form.active_for_sale }} {% if product.parent.for_sale %} {% trans 'Yes' %} {% else %} {% trans 'No' %} {% endif %}
{{ form.active_for_sale_price }} {{ form.for_sale_price.label_tag }}:
{{ form.for_sale_price }} {{ product.parent.for_sale_price|currency }}
{% else %}
{{ form.for_sale }} {{ form.for_sale.label_tag }}:
{% if form.for_sale_price.errors %}
{{ form.for_sale_price }} {{ form.for_sale_price.errors }}
{% else %}
{{ form.for_sale_price }}
{% endif %}
{% endif %}
{% if not product.is_variant %}
{% trans "Units" %}
{{ form.unit.label_tag }}:
{{ form.unit }}
{{ form.price_unit.label_tag }}:
{{ form.price_unit }}
{% endif %}
{% if product.is_variant %} {{ form.active_short_description }} {% endif %} {{ form.short_description.label_tag }}:
{% if form.short_description.errors %}
{{ form.short_description }} {{ form.short_description.errors }}
{% else %}
{{ form.short_description }}
{% endif %}
{% if product.is_variant %} {{ form.active_description }} {% endif %} {{ form.description.label_tag }}:
{% if form.description.errors %}
{{ form.description }} {{ form.description.errors }}
{% else %}
{{ form.description }}
{% endif %}
{% trans "Appearance" %}
{% if product.is_variant %} {{ form.active_static_block }} {% endif %} {{ form.static_block.label_tag }}:
{% if form.static_block.errors %}
{{ form.static_block }} {{ form.static_block.errors }}
{% else %}
{{ form.static_block }}
{% endif %}
{{ form.template.label_tag }}:
{% if form.template.errors %}
{{ form.template }} {{ form.template.errors }}
{% else %}
{{ form.template }}
{% endif %}