Cart
- Object
Represents a cart in Thor, encapsulating all information required to display and manage items across storefronts and sales channels.
Each cart includes details such as the total price, line items, shipping address, and available shipping methods. Carts can be used to track items before purchase, allowing customers to review and modify their selections.
#
Fields
- •CartAddress
Gets the billing address associated with the cart. This may be the same as the shipping address.
- •String
Gets the customer email associated with the cart, if any.
- •ID
Gets the customer ID associated with the cart, if any.
- •CartAddress
Gets the shipping address associated with the cart.
- •CartState!
Gets the current state of the cart.
- •TaxedPrice
Gets the taxed price of the cart. This may be null if the cart does not yet have a taxed price.
#