LineItem - Liquid Object Reference - 1.0.0

Object Name LineItem
Version 1.0.0

Description

A LineItem represents a single line in the customer’s Cart. It always relfects a Product that the customer is purchasing, whether it be a regular product, a bundle, a subscription, or even shipping. Whatever the Product is, the LineItem always represents a single distinct configuration of that Product.

Attributes

Attribute Type Description
bookable? Boolean xxx
bookable_event BookableEvent xxx
bundle_items List[LineItem] Returns the items contained in the Bundle
bundle_lead? Boolean xxx
data Object Returns a custom data object for this object
delete_path String Returns a path that can be used in a delete link to delete the LineItem from the Cart
edit_bundle_path String Returns a path that can be used in a link to edit LineItem
id String Returns the unique id for this LineItem
in_bundle? Boolean xxx
max_quantity Number Returns the maximum valid quantity level for this LineItem
min_quantity Number Returns the minimum valid quantity level for this LineItem
name String Returns the name of the LineItem Product
pickup_options List[PickupOption] Returns a list of valid Pickup locations for this LineItem Product
pricing ProductPricing Returns the Pricing for this LineItem
product Product Returns the Product for this LineItem
quantity Number Returns the value of the Quantity attribute
reserved_product? Boolean xxx
shipping_methods List[String] Returns a list of valid shipping methods for this LineItem

Objects that return LineItems

Back to Object List

Back to Liquid Reference for 1.0.0

 

 
Back to Documentation