English 中文(简体)
Magento——我如何把更新的产品数据库与一个活客户数据库合并?
原标题:Magento - How do I merge an updated products database with a live customer database?
  • 时间:2011-11-09 12:58:07
  •  标签:
  • magento

目前,我有一个活的Magento 1.4.x站点和一个1.6.x开发点。 我将一些新产品投入了1.6站点,并进行了多项测试交易。

我愿把现有的1.4个客户数据输入1.6个站点(而不是根据现有1.4重新计算我的产品,这一产品是可行的,但不是我想要做的)。

我的计划是删除销售品——客户——和通讯——来自发展中国家表格,然后将活面1.4复制到其他一些数据库,迅速升级到1.6,出售我的鲜花——客户——和通讯——,将数据输入发展中国家,然后将牛群活。

我可以测试这一程序,看它需要多长时间,然后在晚上这样做,希望它不需要太长的时间。 然而,任何其他人是否已经完成这项任务,我是否在任何真正、真正重要的表格上遗漏了,以复制整个关切或任何其他关切事项?

问题回答

Whenever you want to test anything on a dev sight, do it programatically so you can run the same script on your live server when you like the script. Or do easy to repeat actions. Playing with the database like that is extremely fragile and error prone.

Magento可能是一个宝贵的数据库,这样就可以避免直接触及它。

If you login to the Magento admin and go to: System => Import / Export => Profiles You will see there are already export profiles for both products and customers. Simply run the export on your dev store and then import on your live shop.

虽然你可能想在进行进口之前收回数据库。

If you re going to import the products. Copy the images into your media folder before running the import. That way the images will also get migrated.





相关问题
Magento addFieldToFilter allow NULLs

When using the Magento collection method addFieldToFilter is it possible to allow filtering by NULL values? I want to select all the products in a collection that have a custom attribute even if no ...

Get product link from Magento API

I am new to Magento and using their API. I need to be able to get the product url from the API call. I see that I can access the url_key and url_path, but unfortunately that s not necessarily what ...

magento extension installation

I want to install a Magento extension in WAMP, but not from the Magento connect system. How can I do this? I have the module (extension) code and I already installed the sample data in the Magento ...

Link to a specific step in onepage checkout

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it? I m working on a payment module and have a sort of "cancel" action that i would ...

How do I filter a collection by a YesNo type attribute?

I have a ‘featured’ attribute, which has a Yes/No select-list as the admin input. I presume that the values for Yes and No are 1 and 0, as they are for every other Yes/No list. However, if I try and ...

热门标签