Skip to main content

Interface: CartItem

Represents an item in the cart.

Extended by

Properties

cartId?

optional cartId: string

The unique identifier for the cart (optional).


cartItemId

cartItemId: string

The unique identifier for the cart item.


currency?

optional currency: string

The currency of the price (optional).


disabled?

optional disabled: boolean

If true, element is no longer available


image

image: string

The URL of the product image.


incrementalQty?

optional incrementalQty: number

Incremental quantity. It defines step for quantity selector


isModular

isModular: boolean

Indicates whether the product is modular.


optional link: string

The link to the product page from which product was added (optional).


mqq?

optional mqq: number

Minimum quantity product can be ordered with


note?

optional note: string

Additional note for the cart item (optional).


price?

optional price: number

The price of the product (optional).


productId

productId: string

The unique identifier for the product.


productName

productName: string

The name of the product.


quantity

quantity: number

The quantity of the product.


removed?

optional removed: boolean

Indicates whether the item has been removed from the cart (optional).


shortCode

shortCode: string

The short code of modular scene or short code for selected configuration.


sku

sku: string

The SKU (Stock Keeping Unit) of the product.


specification

specification: Record<string, string>

The specifications of the product.


toRemove?

optional toRemove: boolean

Indicates whether the item is marked for removal (optional).


unitPrice?

optional unitPrice: number

The unit price of the product (optional).


variantCode

variantCode: string

The variant code of the product.