Emits an ec.cartAction
analytics event.
Should be dispatched before the updateItemQuantity
action.
The action creator payload.
A dispatchable action.
Emits an ec.purchase
analytics event with the current cart state.
Should be dispatched before the purchase
action.
The action creator payload.
A dispatchable action.
Marks the items in the cart as purchased and empties the cart.
Should be dispatched after the emitPurchase
action.
A dispatchable action.
Sets the items in the cart.
The action creator payload.
A dispatchable action.
Updates the quantity of an item in the cart.
Should be dispatched after the emitCartAction
action.
The action creator payload.
A dispatchable action.
The cart action creators.
See Dispatch actions.