Quantity numbers are added like strings in offline mode #2517
Labels
bug
Bug reports
QA approved on branch
Testers will add this label after positive check on specific branch.
Milestone
Current behavior
Adding another products result in summing their quantity digits instead of values (see video).
Expected behavior
Product quantities should be summed correctly in offline mode.
Steps to reproduce the issue
Repository
test.storefrontcloud.io
Can you handle fixing this bug by yourself?
no
Environment details
Additional information
Sometimes problem is tricky to reproduce. Trying with few diffrent products (as described in steps) makes it easier to recreate.
Important update!
I just noticed, that problem in some way occurs also in online mode.
We set quantity number to 5 and then quickly click "add to cart" few times, we may add 55 items instead of 5,10,15 etc. If only stock supply allow for that, we will add incorrectly high number of products to the cart
The text was updated successfully, but these errors were encountered: