Skip to main content

Interface: CartItemWithPriceSettings

Represents an item in the cart. It is extended with information needed for price calculation for current context

Extends

Properties

cartId?

optional cartId: string

The unique identifier for the cart (optional).

Inherited from

CartItem.cartId


cartItemId

cartItemId: string

The unique identifier for the cart item.

Inherited from

CartItem.cartItemId


companyId?

optional companyId: string

Current company ID value


currency?

optional currency: string

The currency of the price (optional).

Inherited from

CartItem.currency


disabled?

optional disabled: boolean

If true, element is no longer available

Inherited from

CartItem.disabled


image

image: string

The URL of the product image.

Inherited from

CartItem.image


incrementalQty?

optional incrementalQty: number

Incremental quantity. It defines step for quantity selector

Inherited from

CartItem.incrementalQty


isModular

isModular: boolean

Indicates whether the product is modular.

Inherited from

CartItem.isModular


optional link: string

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

Inherited from

CartItem.link


mqq?

optional mqq: number

Minimum quantity product can be ordered with

Inherited from

CartItem.mqq


note?

optional note: string

Additional note for the cart item (optional).

Inherited from

CartItem.note


price?

optional price: number

The price of the product (optional).

Inherited from

CartItem.price


priceListGroup?

optional priceListGroup: string

ID of public price list used for adding this item. It will be used in case there is no companyId


priceType?

optional priceType: string

Price type used for adding item


productId

productId: string

The unique identifier for the product.

Inherited from

CartItem.productId


productName

productName: string

The name of the product.

Inherited from

CartItem.productName


quantity

quantity: number

The quantity of the product.

Inherited from

CartItem.quantity


removed?

optional removed: boolean

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

Inherited from

CartItem.removed


shortCode

shortCode: string

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

Inherited from

CartItem.shortCode


sku

sku: string

The SKU (Stock Keeping Unit) of the product.

Inherited from

CartItem.sku


specification

specification: Record<string, string>

The specifications of the product.

Inherited from

CartItem.specification


templateId?

optional templateId: string

ID of currently used embed template


toRemove?

optional toRemove: boolean

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

Inherited from

CartItem.toRemove


unitPrice?

optional unitPrice: number

The unit price of the product (optional).

Inherited from

CartItem.unitPrice


variantCode

variantCode: string

The variant code of the product.

Inherited from

CartItem.variantCode