Solved

Importing and exporting data Magento 1.x ?

Posted on 2016-09-29
4
85 Views
Last Modified: 2016-11-14
We are trying to import orders into Magento CE 1.9.2.4 that have been exported from Magento CE 1.7.0.2 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.

export.csv
0
Comment
Question by:jwleys
  • 3
4 Comments
 

Author Comment

by:jwleys
ID: 41822906
Even tried cloning the live CE 1.7.0.2 and updating it to CE 1.9.2.4, same problem encountered during import and export to the new site.
0
 

Author Comment

by:jwleys
ID: 41822922
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.
0
 
LVL 3

Accepted Solution

by:
MagicienPro earned 500 total points
ID: 41850256
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/
0
 

Author Closing Comment

by:jwleys
ID: 41886887
Thanks this really helped
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question