Creating characteristics for the product and variant attributes
The Sales Layer channel allows exporting in a way that any additional fields are converted into product characteristics, and that all added fields of variants can be converted into configurable attributes. In case, the value is empty or null, the product or variant will be deleted from the shop.
The primary names of the fields configured in Sales Layer channel will be the ones searched in PrestaShop, and in case they don’t exist, they will be created as new:

Since PrestaShop version 1.7, it is possible to send features with more than one value. To separate them, it’s possible to use the symbol “|”.
To create all the characteristics identical, without using a custom command, it is possible to edit saleslayerimport.php with the following line:
public $create_new_features_as_custom = false;
Changing the value to true.
- The characteristics, attributes, and values in multilanguage are created only if they don’t exist in PrestaShop.
- If the value in any of the languages already exists, it’s linked to the product and fills the missed languages. If none of the values is found in PrestaShop (in any of the languages) it’s created as new.
- Once the attributes are created and filled with multilanguage values, it won’t be possible to edit them in the future from the plugin. It is important to be aware of this circumstance and to take it into account in the future. This is due to the need to protect existing values at PrestaShop. From the plugin, existent multilanguage values aren’t updated.
- It is possible to edit languages from PrestaShop or delete them, so during the next update the data will be created correctly.
By default, Sales Layer generates new attributes in PrestaShop. In case you don’t want it to work automatically, there is a flag in the file saleslayerimport.php where changing the variable to false, the system avoids the creation:
public $create_new_attributes = true; //Modifying to false;
From that moment, the system will show in the logs that the option has been deactivated.