Cart Template:
- token : string
- note : null|string
- attributes : object
- original_total_price : number
Total price in cents before any discount - original_total_price_formatted : string
Currency formatted total price before any discount - total_price : number
Total price in cents - totalPrice : string
Currency formatted total price after discounts - total_price_formatted : string
Currency formatted total price after discounts (Same as totalPrice) - items_subtotal_price : number
Items subtotal in cents - items_subtotal_price_formatted : string
Currency formatted Items subtotal - total_discount : number
Total discount amount in cents - totalCartDiscount : string|number if no discount
Currency formatted total discount - total_discount_formatted : number|string
Currency formatted total discount - totalCartDiscountApplied : boolean
True if there is any discount applied, false otherwise - total_weight : number
- item_count : number
- items : object
- id : number
- properties : object
- quantity : number
- variant_id : number
- key : string
- title : string
- price : string
Currency formatted item price - original_price : number
Original price in cents - discounted_price : number
Discounted price in cents - line_price : number
Line price in cents - original_line_price : number
Original line price in cents - total_discount : number
Total discount in cents - discounts : object
- sku : string
- grams : number
- vendor : string
- taxable : boolean
- product_id : number
- gift_card : boolean
- final_price : number
Final price in cents - final_line_price : number
Final line price in cents - url : string
- image : string
- handle : string
- requires_shipping : boolean
- product_type : string
- product_title : string
- product_description : string
- variant_title : string
- variant_options : object
- options_with_values : object
- line_level_discount_allocations : object
- line : number
- img : string
- name : string
- variation : string
- original_properties : object
- price_formatted : string
Currency formatted price - original_price_formatted : string
Currency formatted price - discounted_price_formatted : string
Currency formatted Discounted price - linePrice : string
Currency formatted line price - line_price_formatted : string
Currency formatted line price - original_line_price_formatted : string
Currency formatted line price - total_discount_formatted : string
Currency formatted total discount amount - final_price_formatted : string
Currency formatted final price - final_line_price_formatted : string
Currency formatted final price - originalPrice : string
Currency formatted original price - discountsApplied : boolean
True if discount is applied, false otherwise
- currency : string
- cart_level_discount_applications : object
Upsells:
- id: number
- title: string
- handle: string
- body_html: string
- published_at: string
- created_at: string
- updated_at: string
- vendor: string
- product_type: string
- tags: object
- variants: object
- id : number
- title : string
- option1 : string
- option2 : null|string
- option3 : null|string
- sku : string
- requires_shipping : boolean
- taxable : boolean
- featured_image : null|string
- available : boolean
- price : number
Price in cents - price_formatted: string
Currency formatted price - compare_at_price : null|string
compare_at_price in cents - compare_at_price_formatted: string
Currency formatted compare_at_price - grams : number
- position : number
- product_id : number
- created_at : string
- updated_at : string
- images: object
- options: object
- available_variants_count: number
- url: string
- img: string
- price: string
Currency formatted price for first available variant - compare_at_price: null|string
Currency formatted compare_at_price for first available variant - price_formatted: string
Currency formatted price for first available variant - compare_at_price_formatted: null|string
Currency formatted compare_at_price for first available variant