• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

Importing and exporting data Magento 1.x ?

We are trying to import orders into Magento CE that have been exported from Magento CE using Commerce Extensions Order Export/Import module. http://www.commerceextensions.com/magento-dataflow-batch-import-export-orders-to-csv.html.

We are having issues with the quality of data when trying to import the orders into the destination site.

Specifically, if we are trying to import a batch of say, ten orders, all of the orders get associated with the first customer in that list.  Sample import data attached for review.

It looks like the first customer_id value in the incoming data is populated into that field in the sales_flat_order and sales_flat_order_grid tables for ALL of the orders.

Has anyone else encountered this issue?

More generally, does anyone have a robust solution for importing batches of orders from one version of Magento to another that can create invoices, shipments (credit memos if possible), customers if they don’t exist.  We need to preserve order increment id and customer id so that the relationship between these is maintained.  Happy to take recommendations on other possible modules.

Jeremy Leys
Jeremy Leys
  • 3
1 Solution
Jeremy LeysTechnical LeadAuthor Commented:
Even tried cloning the live CE and updating it to CE, same problem encountered during import and export to the new site.
Jeremy LeysTechnical LeadAuthor Commented:
Unfortunately, this is a high volume sales site so 100+ orders per day, we can copy the tables and re-link the foreign keys which has proven to be successful but that takes half day. Our outage window is only 1 - 2 hours for go - live so we still need a scripted process / extension for picking up and syncing data to bridge the gap.
Kostyantyn Bibike-Commerce Project ManagerCommented:
If you considering the extension as a solution, I can recommend you Store Manager for Magento. Using it you can export/import orders to .csv with details like you mentioned.
In any case, here is are few tutorials where you can learn how to make the export of delivery info into CSV - https://www.mag-manager.com/useful-articles/magento-orders-management/export-magento-orders-with-ordered-products-ship-data-and-customer-details/
How to import orders - https://www.mag-manager.com/useful-articles/magento-orders-management/magento-import-orders/
How to Transfer Magento Data from One Store to Another - https://www.mag-manager.com/useful-articles/how-to/how-to-transfer-magento-data-from-one-store-to-another/
Jeremy LeysTechnical LeadAuthor Commented:
Thanks this really helped
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now