{% load i18n %}

{% trans "Your shopping cart" %}

{% if cart_items %}
{% csrf_token %} {% for item in cart_items %} {% for extra_price_field in item.extra_price_fields %} {% endfor %} {% endfor %} {% for extra_price_field in cart.extra_price_fields %} {% endfor %}
{% trans "Product name" %} {% trans "Unit price" %} {% trans "Quantity" %}  
{{item.product.name}} {{item.product.get_price}} {{item.line_subtotal}}
  {{ extra_price_field.0 }} {{ extra_price_field.1 }}
 {% trans "Line Total" %}:{{item.line_total}}
 {% trans "Cart Subtotal" %}{{cart.subtotal_price}}
  {{ extra_price_field.0 }} {{ extra_price_field.1 }}
 {% trans "Cart Total" %}{{cart.total_price}}

{% csrf_token %}

{% trans "Proceed to checkout" %}

{% else %}

{% trans "Shopping cart is empty" %}

{% endif %}