I was wondering whether there is any way to create custom Orders statuses in Magento. I am developing a Magento Extension in which I have to add some custom order status to magneto orders.
I googled a lot but didn’t find any good resources for this.
Could anybody explain how to do this, any resources to refer.
Lets say you want to add “Authorized Payment” status with “authorized” code.
Add the following to config.xml of your module under config/global:
Earlier it was quite enough but in recent versions (1.5.x.x if I recall correctly) the following bit is also required. Add the following to mysql setup/update file of your extension:
This technically adds new status to your system. Now you can set it to your order like this:
Please let me know if you have any questions.