Hello,
Hoping you can help, new to powerapps and figuring stuff out along the way but stuck on a couple of areas.
Trying to create a whisky order form. We can use points or sale(cash) to purchase.
I was trying to get the user to select their order from the two drop downs available in a gallery(Data source coming from a Product Cart Items sharepoint list) (1)
I have created a second gallery((Data source coming from a Product Cart Items sharepoint list) where I have added an add to cart button and put the onselect code -
Collect(colShoppingCart,{ProductID:ThisItem.ProductID,Product:ThisItem.Product,PointsSaleBottles:PointsQty.Selected.Value,TotalPoints:PointsQty.Selected.Value * NumberofPoints, StaffSaleBottles:SalesQty.Selected.Value,TotalPrice:SalesQty.Selected.Value * ThisItem.Price}) (2)
I have added a third gallery(data source - colShoppingCart) (3)
1. From the attached I don't want anything in the third gallery(add to the cart) if the dropdown is still zero.
2. Also, it seems to bring through only the first item as she can see there should be a Sherry Cask added also
3. I would like to add an update cart button if the changed dropdown selections.
Any help would be appreciated.
Thanks
Ross