poongud / module-customerprofileimport
通过CLI导入客户档案
1.0.0
2022-02-08 22:42 UTC
Requires
- php: ~7.3.0||~7.4.0
- magento/framework: 102.0.*
This package is not auto-updated.
Last update: 2024-09-22 02:42:01 UTC
README
支持2.X版本的Magento
安装扩展(示例客户账户创建)
转到Magento根目录
下载composer包:composer require poongud/module-customerprofileimport
扩展安装
- php bin/magento module:enable WireIt_CustomerProfileImport
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile(开发模式下跳过此步骤)
- php bin/magento setup:static-content:deploy
导入客户数据
- 此导入过程支持csv和json格式。按照以下命令导入带密码的客户数据。
- 导入文件应上传到magento服务器,并注意文件路径。
导入命令
CSV
php bin/magento customer:import profile-csv ./to/file/path/sample.csv
Json
php bin/magento customer:import profile-json ./to/file/path/sample.json