ziaur1/vml_import

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

维护者

详细信息

github.com/ziaur1/vml_import

来源

问题

安装: 0

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

2.1.1 2024-02-26 08:56 UTC

This package is auto-updated.

Last update: 2024-09-26 12:32:16 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/vml_import (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