Object Array Feature for Amazon-Walmart Template Fields
On Walmart or Amazon, there are certain fields that have 2 different fields under the main field, such as under fabric content, where there are two fields, which are material name and material percentage. With these types of fields, you can send name and percentage values as arrays and add it into your listing if the marketplace requires it.
As it is seen in the screenshot, after mapping the fields, if you see as it is in the screenshot or as below fields are separated by a dot, those fields are object array fields.
*.fabricContent.materialName
*.fabricContent.materialPercentage
Any fields that have a separate percentage field can be object array fields. Those types of fields must match each other. The field value and its percentage value must map to each other.
To send those fields as an object array and match the values accordingly,
- Edit both fields
- Click the advanced tab.
- Click on the Repeat checkbox, and Map to Objects will pop up
- Check the Map to Objects
- Click on the OK button
- Hit the save button on the template
When you map them, each value of those fields will be mapped accordingly.
For example, the material name’s first value will be sent with the first value of the material percentage field. The second value will be sent with the second value of the percentage field, etc.
Notes:
- If your custom fields are set up as line text and the values are separated by a comma within the custom field, then, in the template field mapping, SPLIT function needs to be applied. If your custom fields are set as tags, then you can directly map to the custom fields.
- Certain numeric fields such as percentage fields must be sent as objects and integers. So, you need to click on the checkbox called “As Object” under the Advanced tab, and you need to set up your rule as integer (.TOINT). For example, percentage fields are numeric, and this needs to be set up accordingly.