{{ 'summary'|translate }}
{{ 'price_total'|translate }}:
{{ cart.totalPrice|money }}
{{ 'tax'|translate }}:
{{ cart.totalTax|money }}

{{ 'sum'|translate }}:
{{ cart.totalPriceWithTax|money }}

{% if not cart.cartItems|length %} {{ component('alert', {type: 'info', message: 'title_cart_empty'}) }} {% else %}
{{ 'title_cart_items'|translate }}
{% for cartItem in cart.cartItems %} {% set product = products[cartItem.productId] %}
{{ cartItem.quantity }} {% if product.mainImage %} {{ products[cartItem.productId].cache(shop.currentLocale).name }} {% else %} {{ component('dummy_image', {'width': 540, 'height': 540}) }} {% endif %}
{% if product is defined %} {{ cartItem.productNameWithVariant }} {% else %} {{ cartItem.productNameWithVariant }} {% endif %}
{{ 'total'|translate }}: {{ cartItem.totalPrice|money }}
{% endfor %} {% endif %}

{{ 'button_back_checkout'|translate }} {{ 'button_back_to_shop'|translate }}