catgento / magento-2-product-attribute-import
Product Attribute Importer for Magento 2
Installs: 931
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 3
Open Issues: 1
Type:magento2-module
Requires
- php: ~7.1.3||~7.2.0||~7.3.0||~7.4.0||~8.1.0
- magento/framework: >=100.0.0
- magento/module-backend: >=100.0.0
- magento/module-cron: >=100.0.0
This package is not auto-updated.
Last update: 2024-12-22 14:26:11 UTC
README
This is a Magento module which adds a new command (import:productattribute) to the bin/magento shell to import product attributes given a SKU
Installation
Composer
composer require catgento/magento-2-product-attribute-import
ZIP file
Download the module and unzip it under the folder app/code/Catgento/ProductAttributeImport.
How to use it
Create a CSV file with the product information
Mandatory columns:
sku
Extra columns (you can add as many as you want as long as they are product attributes). Note that the first row column values will be used for setting the product data:
name
description
url_key
url_path
...
Sample file:
sku,url_key,url_path
1000,white-mug,white-mug.html
1119,mug-with-calendar,mug-with-calendar.html
1001,mug-with-inner-colour,mug-with-inner-colour.html
Import the CSV file in Magento 2
You can use this shell command as follows:
bin/magento import:productattribute -p var/import/product-attributes.csv