Magento Update Order Data Using Observer

Magento Update Order Data Using Observer
COMMENTS ()
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

Contact us

Whether you are an enterprise aiming to accelerate AI adoption across your organization, an SME looking to scale through intelligent automation, or a startup building AI-powered products from the ground up. We are your trusted partner in driving end-to-end AI transformation and digital growth.

New Customers: +1 (408) 412-3813
Existing Customers: +1 (408) 512 1812