{% load i18n shop_ui %} {% load ravix_ui %} {% if lines %}
{% csrf_token %} {% for l in lines %}{% endfor %} {% if summary.discount %}{% endif %}
{% trans "Product" %}{% trans "Price" %}{% trans "Count" %}{% trans "Total" %}
{{ l.product.name }}{% if l.label %} — {{ l.label }}{% endif %}{% if l.sku %} {{ l.sku }}{% endif %}{% if l.product.is_digital %} {% trans "Digital" %}{% endif %}{% if not l.ok %}
{% if l.product.is_digital and not l.product.digital_file %}{% trans "The product file is not ready" %}{% else %}{% blocktrans trimmed with stock=l.stock|fa_digits %}Not enough stock (available: {{ stock }}){% endblocktrans %}{% endif %}{% endif %}
{% if l.line_discount %}{% price l.line_list_unit %}
{% endif %}{% price l.unit_price %}
{% if l.product.is_digital %}{% trans "1" %}{% else %}{% endif %} {% price l.line_total %}
{% trans "Total before discount" %}{% price summary.subtotal %}
{% trans "Discount" %}{% price summary.discount %}
{% trans "Final amount (calculated by the server)" %}{% price total %}

{% trans "Continue and place order" %}

{% else %}

{% trans "Your cart is empty." %}

{% trans "View products" %}

{% endif %}