INTERFACE Magento 2.4.9
CartItemInterface
An interface for products in a cart.
Declared or extended by: CatalogInventory, Quote
Fields
not_available_message String
Message to display when the product is not available with this selected option.
id String! Required Deprecated
uid ID! Required
The unique ID for a `CartItemInterface` object.
quantity Float! Required
The quantity of this item in the cart.
is_available Boolean! Required
True if requested quantity is less than available stock, false otherwise.
prices CartItemPrices
Contains details about the price of the item, including taxes and discounts.
Details about an item in the cart.
errors [CartItemError!]
An array of errors encountered while loading the cart item
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.