ProductLocalizedAttributes loader

It loads given rows to the spy_product_localized_attributes tables.

The expected structure of the transformed data is as follows:

{
    "localizedValues": {
        "<localID>": {
            "name": "Product name",
            "description": "Product description"
        }
    }
    "attributes": {
        "<localID>": {
            "attribute": "value"
        }
    }
}

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

  • name

  • description

  • attributes

Usage:

<product-localized-attributes
    productConcreteIdField="productConcreteId"
    localizedField="localizedValues"
    localizedAttributesField="attributes"
/>

Attributes:

  • productConcreteIdField - The ID field of the product concrete

  • localizedField - The field containing the localized Values (like name, description etc)

  • localizedAttributesField - The field containing the localized attributes