首页 > 日记 > magento 1.*升级2之图片数据转移
2016
04-19

magento 1.*升级2之图片数据转移

Media files stored in the database

This section applies to you only if you store media files in the Magento database. This step should be performed before migration of data:

  1. Log in to the Magento 1 Admin Panel as an administrator.
  2. Click System > Configuration > ADVANCED > System.
  3. In the right pane, scroll to Storage Configuration for Media.
  4. From the Select Media Database list, click the name of your media storage database.
  5. Click Synchronize.

After that, use the following steps:

  1. Log in to the Magento 2 Admin as an administrator.
  2. Click Stores > Configuration > ADVANCED > System.
  3. In the right pane, scroll to Storage Configuration for Media.
  4. From the Select Media Database list, click the name of your media storage database.
  5. Click Synchronize.

Media files on the file system

All media files (for example, images for products, categories, the WYSIWYG editor, and so on) should be copied manually from <your Magento 1 install dir>/media to <your Magento 2 install dir>/pub/media.

However, do not copy .htaccess files located in the Magento 1 media folder. Magento 2 has its own .htaccess that should be preserved.

最后编辑:
作者:ning
这个作者貌似有点懒,什么都没有留下。