订单导入 Magento 1.4.x
如何使用 imp/exp 配置文件在 magento 1.4.x 上移动订单?
How to move orders on magento 1.4.x using imp/exp profiles ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何使用 imp/exp 配置文件在 magento 1.4.x 上移动订单?
How to move orders on magento 1.4.x using imp/exp profiles ?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Magento 没有内置的方法来使用 imp/exp 配置文件进行订单导入导出。如果您希望将来自不同系统的订单导入到不同系统中,则意味着
以编程方式从一个系统导出订单、客户、发货、发票等
以编程方式将订单导入到新系统
这不是一项简单的任务。如果您不打算进行长时间的学习过程,您将需要一个曾经完成过此任务的开发人员或公司来为您完成此任务。
Magento has no built in way of doing an order import export with imp/exp profiles. If you want orders from an different system imported into a different system, it means
Programmatically exporting the orders, customers, shipments, invoices, etc. from one system
Programmatically importing the orders into the new system
It's not a trivial task. If you're not up for a long learning process you'll need a developer or firm that's done it before to do it for you.
如果两个安装的 Magento 版本完全相同,您可以尝试对所有以
sales_
开头的表进行 mysqldump,并将这些记录插入到目标系统中。诀窍是确保 ID 值在所有关键关系中都匹配。您需要确保相应的客户及其地址也已经存在于新系统中,正如我想象的那样,这些表中也会有外键。
在尝试之前请确保进行了大量备份。
祝你好运,请报告进展情况!
干杯,
乔纳森
If both installations are the exact same version of Magento, you could try taking a mysqldump for all tables that start with
sales_
and insert those records into your target system. The trick would be to make sure that the ID values match up across all the key relationships.You'll need to make sure that the corresponding customers and their addresses already exist in the new system too, probably, as I imagine there would be foreign keys into those tables too.
Make sure you take lots of backups before you try that.
Good luck and please report back how it goes!
Cheers,
Jonathan