ziaur1/vmlimport

通过命令行使用 CSV 和 JSON 导入客户数据

安装: 1

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

2.1.1 2024-02-26 11:27 UTC

This package is auto-updated.

Last update: 2024-09-26 12:52:50 UTC


README

  1. 安装: 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 
  1. 使用
  • 请运行以下命令以从给定示例文件导入数据
  • 对于 JSON 配置文件
    • php bin/magento customer:import sample-json var/import/sample.json
  • 对于 CSV 配置文件 -php bin/magento customer:import sample-csv var/import/sample.csv