Scopes
The Pacemaker Import Community offers the possibility to import values for different scopes.
- All scope specific values must get added on a separate row for each scope representing a store view
sku | store_view_code | attribute_set_code | product_type | name | description | url_key |
---|---|---|---|---|---|---|
MB-2401 |
Default |
simple |
Duffle Bag |
This the default description. |
duffle-bag |
|
MB-2401 |
de_DE |
Default |
Reisetasche |
Das ist die deutsche Beschreibung. |
reisetasche |
|
MB-2401 |
fr_FR |
Default |
Sac Marin |
C’est la description par défaut. |
sac-marin |
|
MB-2401 |
es_ES |
Default |
Bolsa de Lona |
Esta es la descripción por defecto. |
bolsa-de-lona |
The column |
Translatable values
Not all attributes per scope can contain different values. |
-
All product attributes created with
Store View
scope can be translated. -
To determine what attributes are associated with the scope 'Store View', open the Backend and navigate to the overview with the product attributes by clicking on the navigation path
.
-
Select the
Store View
filter and press enter.
Most standard attributes have their column in the CSV file and can get combined into one row by adding the appropriate scope.
Except all attributes custom created in the backend or by a developer. |
Examples
- To find what columns are custom, use your favorite SQL editor and enter the following SQL statement
SELECT * FROM eav_attribute WHERE is_user_defined = 1;
As a result, a list of all user-defined attributes gets displayed.
All user-defined attributes can be imported by adding the corresponding key-value pair to the additional_attributes
column. It keeps the import as flexible as possible.
- The following example shows the part of a CSV file with scope-specific values for the columns
-
-
name
-
description
-
test
-
sku | store_view_code | name | description | additional_attributes |
---|---|---|---|---|
MB-2401 |
Duffle Bag |
This the default description. |
"test=english,activity=Gym|Hiking" |
|
MB-2401 |
de_DE |
Reisetasche |
Das ist die deutsche Beschreibung. |
"test=german" |
MB-2401 |
fr_FR |
Sac Marin |
C’est la description par défaut. |
"test=french" |
MB-2401 |
es_ES |
Bolsa de Lona |
Esta es la descripción por defecto. |
"test=spain" |
see additional attributes for products.