Timpet Posted April 15, 2010 Share Posted April 15, 2010 Hey.I was trying to make my module do "stuff" when orderstate was changed. I was kinda thinking that i could just use Tools::getValue('id_order_state') and Tools::getValue('submitState'), but they both returns as $null. Can someone give me a hit to this?/Tim Link to comment Share on other sites More sharing options...
tomerg3 Posted April 16, 2010 Share Posted April 16, 2010 There is already a hook for that "updateOrderStatus".You can create a module that will hook to that call. Link to comment Share on other sites More sharing options...
Timpet Posted April 16, 2010 Author Share Posted April 16, 2010 Okey, i didnt know. Can i uses those getvalue tools on that hook?Im ready have a hook on the adminpage, i just wounder why i can use them on that hook? 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