Skip to main content

CaCartProduct

A product displayed in the cart

SASS-path: ./styles/components/molecules/ca-cart-product.scss

Props

NameDescriptionTypeRequiredDefault
itemThe cart product itemObjecttrue-
modeSet to display mode to show a non interactable cart'default', 'display'falsedefault

Events

Event NameDescriptionParameters
stock-status-change--
remove--

Methods

MethodDescriptionParameters
onQuantityChangeQuantity change handlervalue (Number)
emitStockStatusEmitting stock status change-
removeItemRemoving item and emitting "remove"-

MixIns

MixIn
MixUpdateCart
MixStockHandler