ProductAbstractLocalizedAttributes loader

It loads given rows to the spy_product_abstract_localized_attributes tables.

The expected structure of the transformed data is as follows:

{
    "productAbstractId": 1,
    "localizedAttributes": {
        "<localID>": {
            "name": "Product name",
            "description": "Product description"
        }
    }
}

It does not import all the localized attributes, only the ones that are defined in the loader. Which are:

  • name

  • description

  • attributes

The first element of the localizedAttributes defines which fields are going to be imported.

Usage:

<product-abstract-localized-attributes
    productAbstractIdField="productAbstractId"
    localizedAttributesField="localizedAttributes"
/>

Attributes:

  • productAbstractIdField - The ID field of the product abstract

  • localizedAttributesField - The field containing the localized attributes