Jump to content

hookActionAttributeCombinationSave doesn't trigger


Recommended Posts

Hey, I'm trying to get id_product_attribute from Combination by using the hookActionAttributeCombinationSave, but when I log it in our custom module, it doesn't log anything.

public function hookActionObjectCombinationAddAfter($params) {
        $combinationID = $params;
        Logger::addLog($combination);
        Logger::addLog('Kutsuttiin hookia');
    }

I have registered the hook, I've reinstalled our module. I have used other hooks successfully on our module.

Is there another hook for this or do I have to manually fetch the data from the DB. But the question remains, where do I include the fetch?

 

All help is appreciated! Thank you.

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...