Jump to content

Running event on custom order status change.


yaniv14

Recommended Posts

Hi,

 

I have a custom order status and I need to fire an event after updating order status in bo to the custom order status.

Now I see that the form submission if running AdminOrdersController.

So my question is do I need to override postProcess function completely or is there a better way to catch specific order status update?

 

Thanks,

Yaniv M

Link to comment
Share on other sites

Thanks Razaro,

 

I was able to get it working with Bellini tutorial.

I am using this hook instead 'hookActionOrderStatusUpdate'

And I am running some stuff when changing to my custom order status.

Is there a way to undo the status update based on the results of my custom function?

 

Which mean saving the new orderstatus only if X happens?

 

Thanks

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