- CrystalCommerce Liquid Documentation for Designers

Line Item Drop

This drop is included on this page in with the variable name {{ drop_name }}.

Properties

qty
Number of items that this line item contains. Example: 2
qty_shipped
Number of items that were actually shipped for this line item after the order was fulfilled. Example: 2.
subtotal
Formatted price for this line item. This correspond to the total price for the line item, not each individual item it contains. Example: “$13.50”
price
Formatted price for each individual item in the line item. Example: “$13.50”
buy_price
Formatted price at which the vendor would buy the individual item to which the line item refers. Example: “$13.50”
id
Line Item ID for use in forms.
buy_order_rejected_quantity
In a buy order, the number of individual items in this line item which were rejected by the store. Example: 2
product
Product to which this line item refers as a Product Drop
variant
Variant to which this line item refers as a Variant Drop
extra_info
Returns an array with 0-2 items. If there is a variant, it dumps that variant’s info string. If the line item belongs to an eBay auction, the array will also include a string indicating the auction id. Example: [“Condition: NM-Mint | Language: English”, “eBay Auction ID: 12345”]
extra_info
Returns true If extra_info returns a non-empty array. Returns false otherwise.
analytics_info
Returns extra_info formatted for analytics as a concatenated string joined by commas. Example: “Condition: NM-Mint Language: English, eBay Auction ID: 12345”