cart
object

{{cart}} object available to templates/pages/cart.html; contains cart_id if one exists

additional_checkout_buttons
array[string]

Generates checkout buttons for third-party payments (PayPal, Google Checkout, etc.)

coupons
array[object]

List of coupons applied to the cart; default sorting is by coupon id, from lowest to highest.

discount
null

Discount being applied to the cart in the current session.

gift_certificates
array[object]

List of gift certificates applied to the cart.

gift_wrapping_cost
object

Price object that defines the cost associated with adding gift wrapping to the items in the cart.

grand_total
object

Price object that defines the total cost of all the items in the cart. Incorporates estimated shipping, discounts, taxes, and gift wrapping.

items
array[object]
quantity
integer
shipping_handling
object

Current configuration of the shipping estimator for this session’s current cart; will be null/undefined if the cart contains no physical products.

show_multiple_address_shipping
boolean

Boolean: If >1 physical items are in the cart, and checkout button is displayed: whether to also display the “Ship to multiple addresses”/"Multiple Shipping Addresses” user option.

show_primary_checkout_button
boolean

Boolean that determines whether to show a checkout button.

status_messages
array[object]
sub_total
object

Price object that defines the total cost of all the items in the cart. Might or might not include tax, based on the tax display settings the merchant has configured. Excludes shipping, discounts, and gift wrapping.

taxes
array[object]

List of all applicable taxes for the cart.