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 a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.

Tel: +1 408 365 4638
Support: +1 (408) 512 1812