Event Cheat-Sheet

Shopware_Modules_Order_SendMail_FilterVariables

Manipulate variables of sOrder mail

Shopware_Modules_Admin_CheckUser_Successful

After checked is the user loggedin

Enlight_Controller_Action_MODULE_CONTROLLER_ACTION

Overwrite or add new actions to a controller. In your subscriber you have to return true; at the end

Enlight_Bootstrap_AfterInitResource_DINAME

After a service has been loaded

Enlight_Bootstrap_InitResource_DINAME

Before a service has been loaded or register your own di

Enlight_Components_Mail_Send

Before a mail is sent

Theme_Inheritance_Template_Directories_Collected

An event to register global template directories

Enlight_Controller_Front_DispatchLoopShutdown

It's the last event before the response is send

Enlight_Controller_Router_Route

An event to create custom routing

Shopware_Modules_Basket_AddArticle_CheckBasketForArticle

Can be used to manipulate how products are found in basket.

Example allow adding multiple basket position of same product:

public function checkBasket(\Enlight_Event_EventArgs $args)
{
$qb = $args->get('queryBuilder');
$qb->andWhere('1=2');
}