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

An In-Depth Look At PHP Unit Assertions

January 28, 2019
A Definitive Guide to Testing PHP Applications with PHP Unit outlines the core to-dos for getting started with unit testing in PHP. If you would li...
Read more

Vulnerability Assessments or Penetration Testin...

January 28, 2019
  The terms “Vulnerability Assessment” and “Penetration Testing” are often confused. But is this confusion correct and...
Read more

Development and Configuration of Order Email Co...

January 9, 2019
    E-commerce businesses always needs dynamic rules of marketing to attract and lure their customers. The more the customers visits the ...
Read more