Hi i want debug my code but i cant see any var_dump on this page,
After installing the module and add and save a product
I test with log and the serialize good appear on logs so the hook was trigger, tks for you replys
code :
public function hookActionProductUpdate($params)
{
if (!$this->createProducts($params, 'A'))
return false;
return true;
}
public function createProducts($params, $action)
{
Logger::addLog(serialize($params), 1, null, null, null, true);
var_dump($params);
}