HI,
I am trying to built an app basically to add items to shopping cart. It is very simple thing I am trying to do which is simple for you guys but not for me. So kindly help as I am stuck. So first I choose quantity from drop down menu and click Add to cart button.
Once I click Add to cart following screen gets displayed
The data gets added to the database. Till now it is fine.
Now I want to increase the quantity by clicking the + button. Once I click + button the value 0 changes to 1 and so on so forth. This value I am storing in a custom state. So now what happens is it deletes all info from cart total and quantity but in the background the database gets updated as follows
So in the database I have Input_Quantity which stores the custom state value
Now if I click on the + button again it does not update the value in database.
I have following workflows:
Please advise.
Thanks
Vijay Zutshi