Cart Liquid Object Reference - 0.9.5

Object Name Cart
Version 0.9.5

Description

The Cart object represents a shopping cart for a customer’s purchasing session. It holds the items that the customer is intending to purchase.

Attributes

Attribute Type Description
id String Returns the unique id for this Cart
item_count Number Returns the total number of items in this Cart
items List[LineItem] Returns a list of LineItems in this Cart
sub_total Number Returns the total price for all LineItems, excluding any taxes where tax is exclusive
total Number Returns the total price including tax for all LineItems
total_deposit Number Returns the total deposit amount for all LineItems
total_non_subscriptions Number Returns the total price for non-subscription LineItems
total_subscriptions Number Returns the total price for subscription LineItems
total_tax Number Returns the total tax for all LineItems

Objects that return Carts

Back to Object List

Back to Liquid Reference for 0.9.5

 

 
Back to Documentation