REGE Posted February 15 Share Posted February 15 (edited) Is there a hook triggered when saving/updating a combination in the product administration form? Something similar to hookActionObjectProductUpdateBefore? I would like to dynamically change some combination values as I save them I tried hookActionObjectProductAttributeUpdateBefore but it is not triggered. I also tried to do it via hookActionObjectProductUpdateBefore, but it is only triggered when saving the product. When saving a combination, it is not triggered. Maybe there is another way this can be done? Edited February 17 by REGE [SOLVED] (see edit history) Link to comment Share on other sites More sharing options...
ps8modules Posted February 17 Share Posted February 17 (edited) Hi. hookActionObjectCombinationAddAfter hookActionObjectCombinationAddBefore hookActionObjectCombinationUpdateAfter hookActionObjectCombinationUpdateBefore ./classes/Combination.php $idCombination = $params['object']->id; $idProduct = $params['object']->id_product; Edited February 17 by ps8moduly.cz (see edit history) 1 Link to comment Share on other sites More sharing options...
REGE Posted February 17 Author Share Posted February 17 Thank you, That's exactly what I meant. 1 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