CartLineMerchandise
●cart · /core·type
Snapshot of the variant-level product data attached to a cart line. Captured at add-to-cart time so the cart displays correct titles and prices even when the variant is later modified or removed in the catalog.
Properties
PROPTYPEDESCRIPTION
availableForSale
boolean
compareAtUnitPrice
id
string
image
{ altText: string |
null; height: number; url: string; width: number } | nullproductHandle
string
Example
const { productTitle, unitPrice } = line.merchandise;Related
RunCartAdapterContractOpts runCartAdapterContract CartCapabilityUnsupportedError CartError CartNotFoundError CartProviderError CartUserError CartAdapter
MetadataOpen in GitHub ↗
CartKernel
Hostfacing surface returned by . Exposes typed read, create, and mutate operations that run through the middleware chain and broadcast lifecycle events without
CartLine
A single line item in a , combining a quantity, merchandise snapshot, and linelevel cost breakdown. The L generic carries optional providerspecific extensions (