pramodguptabt07 / module-customerimport
从CSV、JSON等文件导入客户。
1.0.0
2024-03-12 09:55 UTC
Requires
- php: ~8.1.0||~8.2.0
- magento/framework: 103.0.6
This package is not auto-updated.
Last update: 2024-09-25 09:40:15 UTC
README
``pramod/module-customerimport``
主要功能
从CSV、JSON等文件导入客户。客户导入是一个辅助营销工具,允许店主通过命令行使用csv和json文件导入客户。
sudo php bin/magento customer:import sample-csv sample.csv sudo php bin/magento customer:import sample-json sample.json
安装
如何在Magento 2中安装Customer Import
类型1:Zip文件
- 将zip文件解压到
app/code/Pramod/CustomerImport
- 通过运行
php bin/magento module:enable Pramod_CustomerImport
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存
类型2:Composer
- 通过运行
sudo composer require pramodguptabt07/module-customerimport:dev-main
安装模块composer - 通过运行
sudo php bin/magento module:enable Pramod_CustomerImport
启用模块 - 通过运行
sudo php bin/magento setup:upgrade
应用数据库更新* - 通过运行
sudo php bin/magento cache:flush
清除缓存
配置
规格
- 控制台命令
- 导入CSV文件 sudo php bin/magento customer:import sample-csv sample.csv
- 导入JSON文件 sudo php bin/magento customer:import sample-json sample.json