Web Analytics

Fill the form & Get Installation Support

    This functionality will be done by and event observer. And Event is “checkout_onepage_controller_success_action”.

    In this event you can get the current order data and you will be able to export this data in to csv.

    Step 1: For add the event you have to make a events.xml in your module and paste the below code into it.

    Step 2: Now you have to create a Orderexport.php file in Observer folder and place the below code into it.

    That’s it.

    Note- I have use the field and data as per my requirements. You will change this as per your requirements.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote

        Let our Magento expert connect to discuss your requirement.

          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.