Liquid Template Variables - line item

From Spiffy Stores Knowledge Base

Revision as of 15:10, 12 September 2008 by Admin (talk | contribs) (New page: A line item represents a single line in the shopping cart. There is one line item for each distinct product variant being purchased, regardless of the quantity of that variant in the cart....)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A line item represents a single line in the shopping cart. There is one line item for each distinct product variant being purchased, regardless of the quantity of that variant in the cart. It is important to include the line item's quantity whenever displaying the item to the user. Line items can be accessed from any theme or email template which makes a cart or order object available.

You are most likely to see line items used in the following theme and email templates: