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> is attribute-set-import, the <FILENAME> is a combination of date and time like 20190608-114344, and the <COUNTER> is a incremental number with two digits starting with 01.

  • As a result, the filename is look like attribute-set-import_20190608-114344_01.csv.

  • Additionally, the appropriate .ok file is needed.

  • There is a fixed structure for the bunch import, which must be followed.

  • The three parts to be specified are each separated by an underscore ( _ ) and result in a filename like <PREFIX>_<FILENAME>_<COUNTER>.csv.

  • The name structure follows a predefined filename structure that is mandatory for the Bunch 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

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

varchar

Bag

The unique attribute set name.

based_on

varchar

Default

The name of the attribute set to copy the attributes from.

entity_type_code

varchar

catalog_product

The entity type code the attribute has to be bound to.

sort_order

integer

1

The sort order of the attribute set.

attribute_group_name

varchar

Product Details

The name of the attribute group.

attribute_group_code

varchar

product-details

The unique code of the attribute group.

attribute_group_tab_group_code

varchar

basic

The tag group code of the attribute group.

attribute_group_sort_order

int

10

The sort order for the attribute group in the backend/frontend.

default_id

int

1

The default ID of the attribute group.