Magento Update Order Data Using Observer




Sometimes we may need to update/change order information like custom_field after an order is placed. We can easily do this on the fly using success page observer “checkout_onepage_controller_success_action”.
Follow the details below to see how we can do this.

Step 1: Create a Custom module and add the following content inside your module config.xml file.

File Path: app/code/local/Folio3/UpdateOrder/etc/config.php

Magento Update Order Data Using Observer

Step 2: Create a module observer file and add the following content inside it.

File Path: app/code/local/Folio3/UpdateOrder/Model/Observer.php

Magento Update Order Data Using Observer


Please feel free to comment or reach out if you have any questions. In case you need any help with installation, integration, up-gradation and customization of your Magento web store. We have expertise in Magento Integration Solutions. Connect with us for more information.


USA408 365 4638


1301 Shoreway Road, Suite 160,

Belmont, CA 94002

Latest From Our Blog

7 best Website performance test tips to increas...

March 6, 2019
Website Performance and speed are considered major elements that drive user experiences and pave way for business growth, especially in the ecommer...
Read more

Amazon DynamoDB, from development to deployment

March 4, 2019
Amazon DynamoDB is a fully managed proprietary NoSQL database service that supports key-value and document data structures and is offered by Amazon...
Read more

Using LESS in React without Ejecting

February 28, 2019
I recently came across a problem while configuring my React application to use LESS styling. The misleading information on the web made the solutio...
Read more