Skip to main content
Version: 4.1

Events

CoreShop is equipped with a wide array of built-in events across different functionalities.

Frontend Controller Events

Events triggered during frontend controller operations:

NameEventTypeDescription
coreshop.customer.update_postResourceControllerEventFires after customer profile update
coreshop.customer.change_password_postResourceControllerEventFires after customer password change
coreshop.customer.newsletter_confirm_postResourceControllerEventFires after newsletter subscription confirmation
coreshop.address.add_postResourceControllerEventFires after adding a new address
coreshop.address.update_postResourceControllerEventFires after updating an address
coreshop.address.delete_preResourceControllerEventFires before deleting an address

Cart Events

Events related to cart operations:

NameEventTypeDescription
coreshop.cart.updateGenericEventFires after cart update
coreshop.cart.pre_add_itemGenericEventFires before adding an item to cart
coreshop.cart.post_add_itemGenericEventFires after adding an item to cart
coreshop.cart.pre_remove_itemGenericEventFires before removing an item from cart
coreshop.cart.post_remove_itemGenericEventFires after removing an item from cart

Customer Events

Events triggered during customer-related processes:

NameEventTypeDescription
coreshop.customer.registerCustomerRegistrationEventFires after new customer registration
coreshop.customer.request_password_resetRequestPasswordChangeEventFires after password reset request
coreshop.customer.password_resetGenericEventFires after applying new password to customer

Order Document Events

Events for order document operations:

NameEventTypeDescription
coreshop.order.shipment.wkhtml.optionsWkhtmlOptionsEventOptions Event: Modify wkhtml options for shipment docs
coreshop.order.invoice.wkhtml.optionsWkhtmlOptionsEventOptions Event: Modify wkhtml options for invoice docs

Payment Events

Events associated with payment processing:

NameEventTypeDescription
coreshop.payment_provider.supportsPaymentProviderSupportsEventSupport Event: Modify available Payment Providers

Notes Events

Events related to note creation and deletion:

NameEventTypeDescription
coreshop.note.*.post_addGenericEventFires after creating a note of specified type
coreshop.note.*.post_deleteGenericEventFires after deleting a note of specified type

Replace * with a note type (e.g., payment, order_comment).

Rules Events

Events for rule operations:

NameEventTypeDescription
coreshop.rule.availability_checkRuleAvailabilityCheckEventFires for every active rule in availability check

Workflow Events

Events for workflow transitions. Read more about it here.

Backend Controller Events

Events triggered in various backend operations:

NameEventTypeDescription
coreshop.*.pre_createResourceControllerEventFires before creating an object in backend
coreshop.*.post_createResourceControllerEventFires after creating an object in backend
coreshop.*.pre_saveResourceControllerEventFires before saving an object in backend
coreshop.*.post_saveResourceControllerEventFires after saving an object in backend
coreshop.*.pre_deleteResourceControllerEventFires before deleting an object in backend
coreshop.*.post_deleteResourceControllerEventFires after deleting an object in backend

Replace * with a controller type (e.g., configuration, payment_provider).

Model Events

Pimcore Events can be used for CoreShop's Pimcore Models. Learn more at Pimcore Events.