controller_after.*
Triggered upon execution of a specified PHP controller.
Shop-Script
Input (passed by reference)
$params['controller'] waViewController Controller class instance.
$params['params'] array|null Parameters passed to the controller class.
$params['params'] array|null Parameters passed to the controller class.
… your plugin code …
Output
Shop-Script
Plugin code example
PHP
/**
* 'handlers' => [
* 'controller_after.shopFrontendCartAddController' => 'controllerAfterShopFrontendCartAddController',
* ],
*/
public function controllerAfterShopFrontendCartAddController(&$params)
{
// additional logic after a product has been added to the shopping cart
}









