Hi all. We are currently in the stage of integrating amplitudes after the contract has been signed, but it has not yet entered into force and we cannot test Cart Analysis in Data. My question is, can I use an array to list the categories as shown below in the code. I took the sample code from https://help.amplitude.com/hc/en-us/articles/9623000954907 and added some values in the category. Our products can often be in different categories, so I have this need. Perhaps you can suggest another solution, for example, maybe send the category property twice with different values and it will be associated with one product? The second question is how to properly plan such properties? Should I schedule both parent and child properties? And what type should the parent property have? Thank you all for your reply.
products:
{
product_id: 1,
sku: '45360-32',
name: 'Special Facial Soap',
category: 'name1','name2'],
price: 12.60,
},
{
product_id: 5,
sku: '47738-11',
name: 'Fancy Hairbrush',
category: 'Beauty',
price: 18.90,
}
]