-- HikaShop version -- : HikaShop Business 3.4
-- Joomla version -- : Joomla! 3.7.5
Hi,
I'm trying to build a simple plugin that should perform an action each time 'next' button is clicked during checkout, so tried to capture onAfterCheckoutStep :
public function onAfterCheckoutStep($controllerName, &$go_back, $original_go_back, &$controller){
var_dump("step:".$controllerName);
}
Tried to create it either as a hikashop plugin and a system plugin with the same result:
Once enabled there was no output added, so in order to check if the trigger was being fired I tried to enable other plugin listening to the same event (userpoints). When this other plugin was added to the checkout, then I do receive output from my plugin, but only regarding userpoints controller, this is the var dump shown:
step:plg.shop.userpoints
I couldn't find any information about extra steps needed to capture this type of action, is there any configuration missing?
Thanks