{% extends "base.html" %} {% block title %}Cart · {{ SITE_NAME }}{% endblock %} {% block content %}

Cart

{% for line in lines %}

{{ line.product.name }} · {{ line.quantity }} × {{ line.unit_price }} = {{ line.line_total }}

{% csrf_token %}
{% empty %}

Cart is empty.

{% endfor %} {% if lines %}

Total: {{ total }}

Checkout

{% endif %}
{% endblock %}