Additional attributes
The column additional_attributes
allows
importing values for all attributes not part of the standard format CSV, including user-defined columns.
The value rendered is displayed either at the end or in the beginning of the selected store view and for all other attribute types. |
Enclosing, Escaping, and Delimiter
Since the default multi-field separator ,
separates the key-value pairs with the option values to be imported,
it is necessary to enclose the entire value of the column with double apostrophes "
.
Examples
sku | additional_attributes |
---|---|
MB-2401 |
|
sku | additional_attributes |
---|---|
MB-2401 |
|
sku | additional_attributes |
---|---|
MB-2401 |
|
If a backslash ( |
Multiselect Attributes
-
For multiselect attributes, more than one value is specified for an attribute
-
The values must be separated by a character, which by default is the pipe (
|
)
sku | additional_attributes |
---|---|
MB-2401 |
|
Multiselect attributes are the only values that will use the separator ( |
Configuration
In addition to the general CSV configuration at subject level, Pacemaker Import Community allows us
to override default values which use a comma ( ,
) for the multiple fields and a pipe ( |
) for the
multiple value separators.
Unlike the general CSV configuration, it must be done at the global level and is valid for all operations, subjects, and observers.
It is possible to override the default configuration by adding and overriding the setting value
for multiple-field-delimiter
or multiple-value-delimiter
or for both, as described in the following
configuration example shown.
{
"magento-edition": "CE",
"magento-version": "2.3.2",
"operation-name" : "add-update",
"installation-dir" : "/var/www/magento",
"multiple-field-delimiter" : ",",
"multiple-value-delimiter" : "|",
"databases" : [ ... ],
"loggers" : [ ... ],
"operations" : { ... }
}