Purchasables

The core of anything sold with Commerce is a purchasable, a special type of element that conforms to an interface that guarantees it can be added to a cart.

Commerce ships with two types of purchasables: variants and donations. Somewhat counterintuitively, products are not purchasables!

Purchasables themselves

# Line Items

When a customer adds a purchasable to their cart, Commerce represents it as a line item.

Line items capture a reference to the purchasable and some vital properties like the price, dimensions, weight. They can also hold customer notes, private notes, and arbitrary options data.

Line Items
Learn more about the features and capabilities of line items.