{% extends "modal.html" %} {% load i18n %} {% block title %} {% if cart.is_empty %} {% trans 'Cart is empty' %} {% else %} {% trans 'Orders cart' %} {% endif %} {% endblock %} {% block dialog_class %} modal-xl {% endblock %} {% block body %} {% if not cart.is_empty %}
{% for item in cart.items %}
{% include "products/logo.html" with product=item.product %}
{{ item.name }} {% include "products/state.html" with product=item.product %} {% include "products/manufacturer.html" with product=item.product %}
{% trans 'Sum' %}
1 x {{ item.printable_total }}
{% endfor %}
{% trans 'Total' %}: {{ cart.printable_total }}
{% endif %} {% endblock %} {% block footer %} {% if not cart.is_empty %} {% trans 'To order' %} {% endif %} {% endblock %}