flancer32 / mage2_ext_demo_import
Demo module for publications.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 3
Open Issues: 0
Type:magento2-module
pkg:composer/flancer32/mage2_ext_demo_import
Requires
- php: ^7.1
This package is auto-updated.
Last update: 2025-10-26 23:59:14 UTC
README
Demo module for Habr.
Installation
$ cd ${MAGE_ROOT} $ composer require flancer32/mage2_ext_demo_import $ ./bin/magento module:enable Flancer32_DemoImport $ ./bin/magento setup:upgrade $ ./bin/magento setup:di:compile
Usage
Place importing data into ./etc/data/products.json (image paths are related to ./etc/data/img/):
[
{
"sku": "...",
"name": "...",
"desc": "...",
"desc_short": "...",
"price": ...,
"qty": ...,
"categories": ["..."],
"image_path": "..."
}
]
... then run command:
$ ./bin/magento fl32:import:prod -t regular $ ./bin/magento fl32:import:prod -t direct