Jump to content

[] Hook ActionProductUpdate not working

Recommended Posts

Hi all,

I'm working to a custom module but I've got a problem that I don't understand.

I'm tring to use the hook ActionProductUpdate, but it seems never called.

I can see the hook correctley registred into DB with my module, but when I save the product the hook doesn't work,

In debug mode I don't see the ActionProductUpdate call!

Have you got any ideas?

Thanks to all for help 

public function install() {
        if (!parent::install() 
             || ! $this->registerHook('displayAdminProductsExtra')
			 || ! $this->registerHook('actionProductUpdate')
        ) {
            return false;

        return true;
	public function hookActionProductUpdate($params) {


Edited by Denton (see edit history)

Share this post

Link to post
Share on other sites

Any solution to test your break point is add a die() just in module hook listener, something like die('OK') and test it with dev tools:


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More