I have a collection called ShoppingCart with Product, Size, and Quantity.
How do I increase the quantity if someone adds the same size shirt?
Below is the code for the OnSelect button and is increasing the quantity correctly, but will create another record. How do I get it to just update the record?
UpdateIf(ShoppingCart, Product = DataGallery.Selected.Title && Size = SizeDropdown.Selected.Result, {Quantity: Quantity+1}); Collect(ShoppingCart, {Product: DataGallery.Selected.Title, Size: SizeDropdown.Selected.Result, Pics: DataGallery.Selected.Pics, Quantity: 1})