Overview

Represents a user's cart. In the CMS, the current cart is globally accessible as cart.

Filtering

When used in paginations can be filtered with the where filter by:

and sorted with the sort filter by:

Properties

cart.id

Returns the unique ID of the cart.

cart.promocode_code

Returns the text code of the promocode that's associated to the cart, if any.

cart_remove_promocode

liquid form is now available

cart.total

Returns the cart's total (orderlines total + tax + shipping - discounts).

Use the currency filter to format the output.

cart.orderlines_total