blog-page-header-bg

Magento Update Order Data Using Observer

COMMENTS (0)
Tweet

 

 

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.

CALL

USA408 365 4638

VISIT

1301 Shoreway Road, Suite 160,

Belmont, CA 94002

Latest From Our Blog

Magento Update Order Data Using Observer

December 3, 2018
    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...
Read more

Introduction to Protocol Buffer and guidelines ...

November 30, 2018
    Protocol buffer also known as protobuf was designed by google for internal use to store data and to communicate between processes. Go...
Read more

Generate Gift Card Codes in Bulk for Magento St...

November 30, 2018
    Magento Commerce (formerly Magento Enterprise) Gift Card functionality doesn’t support the ability to create Gift Card codes in...
Read more