Attribute sets groups
Pacemaker Community Edition (CE) provides an attribute import and the appropriate command import:attributes:set
therefore.
You can find more information about how to invoke the command in the usage section.
-
The filename for the dedicated MSI import must match the pattern
<PREFIX>_<FILENAME>_<COUNTER>.csv
. -
The default
<PREFIX>
isattribute-set-import
, the<FILENAME>
is a combination of date and time like20190608-114344
, and the<COUNTER>
is a incremental number with two digits starting with01
. -
As a result, the filename is look like
attribute-set-import_20190608-114344_01.csv
. -
Additionally, the appropriate
.ok
file is needed.
|
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
The CSV file with the attribute sets for the Magento 2 CE/EE consists of the following columns, whereas each attribute set can have multiple attribute groups:
Column Name | Type | Example | Description |
---|---|---|---|
attribute_set_name |
|
|
The unique attribute set name. |
based_on |
|
|
The name of the attribute set to copy the attributes from. |
entity_type_code |
|
|
The entity type code the attribute has to be bound to. |
sort_order |
|
|
The sort order of the attribute set. |
attribute_group_name |
|
|
The name of the attribute group. |
attribute_group_code |
|
|
The unique code of the attribute group. |
attribute_group_tab_group_code |
|
|
The tag group code of the attribute group. |
attribute_group_sort_order |
|
|
The sort order for the attribute group in the backend/frontend. |
default_id |
|
|
The default ID of the attribute group. |