ziaur1 / vmlimport
通过命令行使用 CSV 和 JSON 导入客户数据
2.1.1
2024-02-26 11:27 UTC
Requires
- php: ~7.3.33|~7.4.0
- magento/framework: >=102.0.0
README
-
安装: 1.1 方法一
- Code is in a Zip file format named Vml.zip - Unzip the zip file in magento_solution_directory/app/code folder - Run the following commands to install the module - php bin/magento setup:di:compile && php bin/magento setup:upgrade - Flush the cache by running - php bin/magento cache:flush - Place the JSON and CSV files at following path - magento_solution_directory/var/import/
1.2. 方法二
- Please execute the following two commands in order to set Composer to accept dev releases
- composer config minimum-stability dev
- composer config prefer-stable true
- For the installation of the module, please run
- composer require ziaur1/vmlimport (It will install the module under directory magento_solution_director/vendor)
- Once installed, please run
- php bin/magento setup:di:compile && php bin/magento setup:uphgrade && php bin/magento module:enable Vml_Import
- Flush the cache by running following command
- php bin/magento cache:flush
- 使用
- 请运行以下命令以从给定示例文件导入数据
- 对于 JSON 配置文件
php bin/magento customer:import sample-json var/import/sample.json
- 对于 CSV 配置文件 -
php bin/magento customer:import sample-csv var/import/sample.csv