Home > widget-integration > CartUpdateOperation

CartUpdateOperation enum

Cart update operation types

Defines the types of cart update operations for queue management and conflict prevention.

Signature:

export declare enum CartUpdateOperation 

Enumeration Members

Member

Value

Description

ADD

"add"

Add item to cart

CHANGE_QUANTITY

"change_quantity"

Change item quantity

CLEAR

"clear"

Clear entire cart

REMOVE

"remove"

Remove item from cart

UPDATE_PROPERTIES

"update_properties"

Update item properties