Importing orders directly through database

Please LogIn to Reply!

Post By: admin | 26-01-2012 06:35 Reply


Hi, I have to programatically import orders from a site that is not Magento to a site that is Magento. The old site is custom-made as is not based on any CMS. So, because I have not exprirence in Magento, I had to try to import the users by directly writing to many Magento tables in the database.

It involves inserting data to sales_flat_order, sales_flat_order_item, sales_flat_order_address, sales_flat_order_gridline and several others. But now the imported orders do not show up in the list of the orders in the admin panel. It seems to me that it got too dangerous to make such an import to the database, because the database model is too complicated

So, can you point out to an Internet resource/tutorial on how to import orders with some API of Magento, suitable for a guy that is a Magento newbie.


`Reply Or Comment!
Please LogIn to Reply!