Jump to content

Cant see my var_dump on admin product page with hookActionProductUpdate


Recommended Posts

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);

}

Edited by webconcept06 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...