jsmit2 Posted February 6, 2015 Share Posted February 6, 2015 Hello everyone, Can anyone tell me how I can use the ActionOrderStatusUpdate hook to check if my shipment is delivered? I have the hook in place but how do I use it in my module? Thanks in advance Link to comment Share on other sites More sharing options...
jsmit2 Posted February 6, 2015 Author Share Posted February 6, 2015 Nevermind. Found it myself. It appears that if you put a variable in the function you can read the statuschange Link to comment Share on other sites More sharing options...
pabloliracecilio Posted May 3, 2016 Share Posted May 3, 2016 install the hook in you class: public function install() { if (parent::install() == false OR !$this->registerHook('header') OR !$this->registerHook( 'actionOrderStatusUpdate') OR !Configuration::updateValue('SENDREVIEWREQUEST', 5) ) return false; return true; } then implement the hook call public function hookActionOrderStatusUpdate($params) { .. .. } 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