Solved

Importing and exporting data Magento 1.x ?

Posted on 2016-09-29
4
67 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 count occurrences of each item in an array.

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now