I am new to weweb and not much of a coder. I am trying to build a shopping cart array.
Right now I have this array of list of items added to cart, the quantity and other details :
[
{name:product1, price:9.99, quantity: 2}
{name:product2, price:8.99, quantity:3}…
]
I am trying to figure out how I can change/update the quantity, without changing the order of items. Can you guys share how to it? Thank you so much.
For information, we have developed a way to do it in no code, because lot of people need the feature.
When doing a “Change variable Value”, you will be able to choose a path and/or an index when modifying an array or object.
This will be on the next release