{% extends "shop/_layouts/main" %} {% block main %}
| Product | Qty | Price |
|---|---|---|
|
{{ item.description }} ({{ item.sku }}) {{ item.options|json_encode }}
|
{% if not lineItemHasErrors %}
{% if item.onSale %}
Sale Off: {{ item.saleAmount|commerceCurrency(cart.currency) }} Sale Price {{ item.salePrice|commerceCurrency(cart.currency) }} Sale Price Subtotal: {{ item.subtotal|commerceCurrency(cart.currency) }} {% else %} Price: {{ item.price|commerceCurrency(cart.currency) }} Sale Price Subtotal: {{ item.subtotal|commerceCurrency(cart.currency) }} {% endif %} {% endif %} {% for sale in item.purchasable.sales %} {% if loop.first %} Sales Applied: {% endif %} {{ sale.name }} {% endfor %} |
|
|
{{ adjustment.type }} {{ adjustment.name }} ({{ adjustment.description }} ) |
{{ adjustment.amount|commerceCurrency(cart.currency) }} | |
| {{ adjustment.type }} |
{{ adjustment.name }} ({{ adjustment.description }} ) |
{{ adjustment.amount|commerceCurrency(cart.currency) }} |
| {# Remove all line items to empty the cart: #} {# Update Coupon form uses the single update controller action: #} {% if cart.getFirstError('couponCode') %}{{ cart.getFirstError('couponCode') }}{% endif %} |
{% if not lineItemHasErrors %}
Item Sub Total: {{ cart.itemSubTotal|commerceCurrency(cart.currency) }}
Built in Adjustment Totals Total Discount: {{ cart.adjustmentsTotalByType('discount')|commerceCurrency(cart.currency) }} Total Shipping: {{ cart.adjustmentsTotalByType('shipping')|commerceCurrency(cart.currency) }} Total Tax: {{ cart.adjustmentsTotalByType('tax')|commerceCurrency(cart.currency) }} Total Tax (inc): {{ cart.adjustmentsTotalByType('tax', true)|commerceCurrency(cart.currency) }} Total Price: {{ cart.totalPrice|commerceCurrency(cart.currency) }}{% endif %} |
|
You have no items in your cart, add some on the products page.
{% endif %}