Product Variants
Pacemaker Import Pro provides the command import:products:variant command for the product variant import.
- The individual parts of the file name must match the pattern as followed:
product-import-variant_20190608-114344_01.csv<IMPORT-DIRECTORY>/<PREFIX>_<FILENAME>_<COUNTER>.<SUFFIX>
- <IMPORT-DIRECTORY>:
-
is by default the location of your working directory
<ROOT-DIRECTORY>/var/pacemaker/import/-
The
var/pacemaker/importdirectory is not created after the installation by default
-
- PREFIX:
-
The
<PREFIX>of the import filename represents theproduct-import-variantarea. - DELIMITER (
_): -
The mandatory Delimiter (
_) for the import filename between<PREFIX>and<FILENAME>is a underscore (_). - FILENAME:
-
The filename is a autogenerated combination of date and time.
-
As a result, the filename look like
product-import-variant_20190608-114344_01.csv.
-
- DELIMITER (
_): -
The mandatory Delimiter (
_) for the structured filename between<FILENAME>and<COUNTER>is underscore (_). - COUNTER:
-
is a incremental number with two digits starting with
01. - SUFFIX (filename extension):
-
The Pacemaker Import Pro uses the
<SUFFIX>.csvas default for the import files.
|
.OK file:
Bunch import:
|
Your CSV file var/pacemaker/import/product-import-variant_20190608-114344_01.csv is now ready for import.
Columns
Pacemaker Import Community offers the possibility to import variant products, including their options like variant_price_type etc.
- The CSV file with the attributes for Magento 2 CE/EE consists of the following columns
| Column Name | Type | Example | Description |
|---|---|---|---|
|
|
Product SKU to import the links |
|
|
|
Magento Product Types |
|
|
|
Magento Attribute set code |
|
|
|
Pipe ( |
|
|
`` |
configurable variation labels |
|
sku,product_type,attribute_set_code,configurable_variations,configurable_variation_labels
WS11,"configurable","Top","sku=WS11-XS-Green,size=XS|sku=WS11-XS-Orange,size=XS|sku=WS11-XS-Yellow,size=XS|sku=WS11-S-Green,size=S|sku=WS11-S-Orange,size=S|sku=WS11-S-Yellow,size=S|sku=WS11-M-Green,size=M|sku=WS11-M-Orange,size=M|sku=WS11-M-Yellow,size=M|sku=WS11-L-Green,size=L|sku=WS11-L-Orange,size=L|sku=WS11-L-Yellow,size=L|sku=WS11-XL-Green,size=XL|sku=WS11-XL-Orange,size=XL|sku=WS11-XL-Yellow,size=XL",