Hello everyone
PLEASE I NEED HELP
THANKS
I believe you are adding +/- in each product. In such case why do use very complex block to inc or dec quantity.
Imagine the qty is printed on the dynamic lable with id qty{number}
Also imagine this + and - sign created in lable with click enabled with id plus{number} and minus{number}
When any lable clicked.
Get id of the clicked component
If the id contains the text minus
Sel lable text with id qty{numner} to get text of qty -1
Else if it contains the text plus
Set lable text with qty{number} to get text of qty{number} + 1