cart
A customer’s cart.
Properties
A list of cart discount details.
A list of order discount details.
Whether the cart contains items.
true: The cart does not contain items.false: The cart contains items.
The number of items in the cart.
The line items in the cart.
The total price of items in the cart after all line item discounts are applied. The price excludes cart discounts and shipping costs. Whether the price excludes taxes depends on the store’s tax settings.
The value is output in the subunit of the customer's local currency.
Use money_with_currency filter to output a formatted amount.
The total price of items in the cart before any discount is applied.
The value is output in the subunit of the customer's local currency.
Use money_with_currency filter to output a formatted amount.
Whether any item in the cart requires shipping.
true: Some items in the cart require shipping.false: No item in the cart requires shipping.
The total amount of all discounts.
The value is output in the subunit of the customer's local currency.
Use money_with_currency filter to output a formatted amount.
The total price of items in the cart after all discounts are applied.
The value is output in the subunit of the customer's local currency.
Use money_with_currency filter to output a formatted amount.
The total weight of items in the cart. Unit: g.