Cart Tag

{exp:store:cart}
    <!-- cart contents -->
{/exp:store:cart}

The Cart Tag behaves exactly the same as the Checkout Tag. The difference lies in performance - while the Checkout Tag provides a form, and provides options for updating and submitting the cart, the Cart Tag simply displays a cached version of the current cart.

You should use the Cart Tag instead of the Checkout Tag in sidebars and headers, when you wish to display the contents of the current cart.

Cart Tag Parameters

The cart tag has no parameters.

Cart Tag Variables

All variables available in the Checkout Tag can be used here.

Cart Tag Example

{exp:store:cart}

    {if no_items}
        Your cart is empty!
    {/if}

    Your cart: {order_qty} items - {order_total}

{/exp:store:cart}