Attribute sets & groups
Pacemaker Import Community provides the command import:attributes:set
command for the attribute import.
- The individual parts of the file name must match the pattern as followed:
attribute-set-import_20190608-114344_01.csv
<IMPORT-DIRECTORY>/<PREFIX>_<FILENAME>_<COUNTER>.<SUFFIX>
- <IMPORT-DIRECTORY>:
-
is by default the loation of your working directory
<ROOT-DIRECTORY>/var/pacemaker/import/
-
The
var/pacemaker/import
directory is not created after the installation by default
-
- PREFIX:
-
The
<PREFIX>
of the import filename represents theattribute-set-import
area. - 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
attribute-set-import_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 Community uses the
<SUFFIX>
.csv
as default for the import files.
.OK file:
Bunch import:
|
Your CSV file var/pacemaker/import/attribute-set-import_20190608-114344_01.csv
is now ready for import.
Unique identifier
-
The unique identifier for the attribute set import is the attribute set name
-
The attribute set name is a mandatory field available in the column
attribute_set_name
on every row of the CSV file
Columns
Each attribute set can contain several attribute groups
- The CSV file with the attribute sets for Magento 2 CE/EE consists of multiple columns
Column Name | Type | Example | Description |
---|---|---|---|
|
|
The unique attribute set name |
|
|
|
The attribute group name, where the attributes get copied from |
|
|
|
The entity type code to bind the attribute to |
|
|
|
The attribute set sort order |
|
|
|
The attribute group name |
|
|
|
The unique attribute group code |
|
|
|
The attribute group tag group code |
|
|
|
The backend/frontend attribute group sort order |
|
|
|
The attribute group default ID |