Represents information about the merchandise in the cart.
Attribute
)
The custom attributes associated with a cart to store additional information. Cart attributes allow you to collect specific information from customers on the Cart page, such as order notes, gift wrapping requests, or custom product details. Attributes are stored as key-value pairs.
Cart line attributes are equivalent to the
line_item
object in Liquid.
Argument | Description |
---|---|
key
(
String
)
|
The key of the cart attribute to retrieve. For example, |
ID!
)
The ID of the cart line.
Merchandise!
)
The item that the customer intends to purchase.
Int!
)
The quantity of the item that the customer intends to purchase.