NOTE: An issue has been found with this function. This product will explain how this feature works, however at the time of writing (11/10/23) it will not function correctly. This will be fixed soon.
This example shows how we can use an uploaded CSV to control product properties other than the pricing.
Here, for instance, we have a columns in the uploaded CSV covering "Weight". By linking this within the pricing script configuration, we are able to control various product properties based on the attribute selection.
Within the configuration of the pricing script:
- csvKey is the header within the CSV file
- itemField is the name of the field requiring updating.
Fields able to be modified using this methodology include:
{
"filePath": "Additional Fields.csv",
"itemPropertyAdjustments": [{
"csvKey": "Weight",
"itemField": "Weight"
}],
"debugMode": true
}