Hello guys, I have a "data" variable which groups together several objects. I would like, for example, to modify the quantity of the variant items[1]. I suspect that I should use the Set & get function but I cannot directly reach the right data. Can someone help me? Thanks guys!
Lucas G
26 days ago
Dec 19, 2024, 3:29 PM
You do indeed use Set
Use an array to specify the path to the item you want to edit
variant_items.[index].quantity
saillmone
26 days ago
Dec 19, 2024, 4:04 PM
I try as hard as I can but I can't do it haha. It must be not very far but I can't find it, thank you in any case!