Represents a user's cart. In the CMS, the current cart is globally accessible as cart
.
When used in paginations can be filtered with the where filter by:
id
custom.<field-name>
and sorted with the sort filter by:
created_at
custom.<field-name>
Returns the unique ID of the cart.
Returns the text code of the promocode that's associated to the cart, if any.
liquid form is now available
Returns the cart's total (orderlines total + tax + shipping - discounts).
Use the currency filter to format the output.