Product
Price
Quantity
Total
{% for key, item in cart.lineItems %}
{% set product = item.purchasable.product %}
{% endfor %}
{% if editable %}
{% endif %}
{% if product %}
{{ product.title }}
{% else %}
{{ item.purchasableName }}
{% endif %}
{% if item.options is not empty %}
{% for label, value in item.options %}
{% endif %}
{% if item.attachments is not empty %}
{% endif %}
{{ label }}: {{ value }}
{% endfor %}
{% if item.unitPrice != item.discountedUnitPrice %}
{{ item.unitPrice|commerce_currency }}
{% endif %}
{{ item.discountedUnitPrice|commerce_currency }}
{% if editable %}
{{ form_widget(form.lineItems[key].quantity) }}
{% set ajaxBtnOptions = {'action': path('cart_item_remove', {'id': item.id})} %}
{{ form_errors(form.lineItems[key].quantity) }}
{% else %}
{{ item.quantity }}
{% endif %}
{{ item.subtotal|commerce_currency }}
{% if editable %}
{{ form_errors(form.lineItems[key].quantity) }}
{% endif %}