Increase Qty when click more times same item

i have idea for POS App plus qty for same items in cart when i click more times one product, qty will increase, if click 5 times, qty=5… instead of appear 5 rows same item and qty=1 in cart.

or plus qty when duplicate key pop-up notification or other idea like that

My idea is possible? please help me, Thanks.

Data: set the value of some columns in this row

1 Like

Yes it is possible, your problem seems to be that you are attempting to add a new row using the same key while you should be generating a new key for every new row. To do that you should set the Initial value of your key column to UNIQUEID()

1 Like

Thanks, i use key column to Uniquieid() but instead of 5 rows for Apple items with Qty=1 for each row, i want 1 rows for Apple items and Qty=5 when i click 5 times

OK, then follow @dbaum advice.

2 Likes