Entities
CartItem
CartItem entity - components, queries, links, and related actions
Your storefront encounters the CartItem entity when rendering individual line items inside a Cart. Each CartItem represents a single entry: a product, a discount code, or a custom item. CartItems are always accessed through the CartItemsLink on a Cart; they have no standalone query.
Components
Base
Cost
Product Data
Quantity Rule
Availability
Links
- CartItemProductVariantLink
ProductVariantsingle- The product variant this line item represents. Nullable; only present when the item type isproduct.