{% if cart %}
{% for pid, item in cart.items %} {% endfor %}
Product Price Quantity Total Action
{% if item.image %} {{ item.name }} {% else %}
{% endif %}
{{ item.name }}
{% if item.has_discount %}
${{ item.original_price|floatformat:2 }} ${{ item.price|floatformat:2 }} Save ${{ item.discount_amount|floatformat:2 }}
{% else %} ${{ item.price|floatformat:2 }} {% endif %}
${{ item.line_total|floatformat:2 }}
{% if original_total and total_discount %}
Subtotal ${{ original_total|floatformat:2 }}
Discount -${{ total_discount|floatformat:2 }}

{% endif %}
Total
${{ total|floatformat:2 }}
Proceed to Checkout
{% else %}

Your cart is empty

Looks like you haven't added anything yet.

Start Shopping
{% endif %}