{% extends "base.html" %} {% load gross from prices_i18n %} {% load i18n %} {% load staticfiles %} {% block title %}{% trans "Your cart" %} — {{ block.super }}{% endblock %} {% block breadcrumb %} {{ block.super }}
  • {% trans "Cart" %}
  • {% endblock breadcrumb %} {% block content %} {% if cart %} {% for group in cart %} {% for line in group %} {% endfor %} {% endfor %}
    {% trans "Product" %} {% trans "Quantity" %} {% trans "Subtotal" %}
    {% trans "Total" %}: {% gross cart.get_total %}
    {{ line.product.product }} - {{ line.product.display_variant }}
    {{ line.form.quantity }}
    {% if line.form.quantity.errors %} {% for error in line.form.quantity.errors %} {{ error }} {% endfor %} {% endif %} {% csrf_token %}
    {% gross line.get_total %}
    {% trans "Proceed to checkout" %}
    {% else %}

    {% trans 'Your cart is empty' %}

    {% endif %} {% endblock content %}