{% load i18n %} {% load image_tags %} {% load currency_filters %} {% load purchase_info_tags %} {% load widget_tweaks %} {% load static %} {% purchase_info_for_line request line as session %}
{{ form.id }} {% with image=line.product.primary_image %} {% oscar_thumbnail image.original "100x100" upscale=False as thumb %} {{ product.get_title }} {% endwith %}
{% if not hide_price %} Einzel: {% for price in line.price_breakdown %}

{# If it is a segmented price #} {% if price.sum.quantity != line.quantity %} {{ price.sum.quantity }}× {% endif %} {{ price.base_price.incl|currency:session.price.currency }} {% if price.has_special_price %} {{ price.special_price.incl|currency:session.price.currency }} {% endif %}

{% if price.has_deposit %}

+{{ price.deposit.incl|currency:session.price.currency }} Pfand

{% endif %}
{% endfor %} {% endif %}
{% if not hide_price %} {% trans "Total" %}: {% for price in line.price_breakdown %} {% if not price.base_price.sum %}

{% else %}

{% if price.has_special_price %} {{ price.special_price.sum.incl|currency:session.price.currency }} {% else %} {{ price.base_price.sum.incl|currency:session.price.currency }} {% endif %}

{% if price.deposit.sum %} +{{ price.deposit.sum.incl|currency:session.price.currency }} Pfand {% endif %}

{% endif %} {% endfor %} {% endif %}
{% if not is_preview and form %}
{% render_field form.quantity class+="form-control" %}
{{ form.save_for_later }} {{ form.DELETE }}
{% for field_errors in form.errors.values %} {% for error in field_errors %} {{ error }} {% endfor %} {% endfor %}
{% else %}
Menge:

{{ line.quantity }}

{% endif %}