Solved

Importing and exporting data Magento 1.x ?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

856 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