webconcept06 Posted January 27, 2021 Share Posted January 27, 2021 (edited) 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 January 27, 2021 by webconcept06 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now