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.

为您推荐

Comments are closed.

35条评论

  1. ᶽ丝袜小说ᶽᶽ丽柜丝袜ᶽᶽ黑丝袜高跟ᶽᶽ丝袜内衣ᶽᶽ女式高跟凉鞋ᶽᶽ肉色短丝袜ᶽᶽ内衣丝袜ᶽmeinv95.com

  2. 爱狗人士很好,有爱心,大家都喜欢萌物,我也养狗。爱猫人士,爱鸟人士,爱等等等等人士都很好。。。但是盲目的爱狗人士是傻逼,这些傻逼就快把爱狗人士几个字变成专家了