This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Cart events¶
| Event | Dispatched by | Properties |
|---|---|---|
AddEntryEvent |
CartService::addEntry |
CartInterface $cartEntryAddStruct $entryAddStructCartInterface $cartResult |
BeforeAddEntryEvent |
CartService::addEntry |
CartInterface $cartEntryAddStruct $entryAddStruct?CartInterface $cartResult = null |
BeforeCreateCartEvent |
CartService::createCart |
CartCreateStruct $cartCreateStruct?CartInterface $cartResult = null |
BeforeDeleteCartEvent |
CartService::deleteCart |
CartInterface $cart |
BeforeEmptyCartEvent |
CartService::emptyCart |
CartInterface $cart |
BeforeMergeCartsEvent |
CartService::mergeCarts |
CartInterface $targetCartarray $cartsToMergebool $deleteMergedCarts |
BeforeRemoveEntryEvent |
CartService::removeEntry |
CartInterface $cartEntryInterface $entry?CartInterface $cartResult = null |
BeforeUpdateCartMetadataEvent |
CartService::updateCartMetadata |
CartInterface $cartCartMetadataUpdateStruct $cartUpdateStruct?CartInterface $cartResult = null |
BeforeUpdateEntryEvent |
CartService::updateEntry |
CartInterface $cartEntryInterface $entryEntryUpdateStruct $entryUpdateStruct?CartInterface $cartResult = null |
CreateCartEvent |
CartService::createCart |
CartCreateStruct $cartCreateStructCartInterface $cartResult |
DeleteCartEvent |
CartService::deleteCart |
CartInterface $cart |
EmptyCartEvent |
CartService::emptyCart |
CartInterface $cart |
MergeCartsEvent |
CartService::mergeCarts |
CartInterface $cartResult |
RemoveEntryEvent |
CartService::removeEntry |
CartInterface $cartEntryInterface $entryCartInterface $cartResult |
UpdateCartMetadataEvent |
CartService::updateCartMetadata |
CartInterface $cartCartMetadataUpdateStruct $cartUpdateStructCartInterface $cartResult |
UpdateEntryEvent |
CartService::updateEntry |
CartInterface $cartEntryInterface $entryEntryUpdateStruct $entryUpdateStructCartInterface $cartResult |