Solved

Importing and exporting data Magento 1.x ?

Posted on 2016-09-29
4
31 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks this really helped
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

772 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

10 Experts available now in Live!

Get 1:1 Help Now