banco-alimentar / alimentestaideia.pt

Site doações alimente esta ideia
http://alimentestaideia.pt
Other
10 stars 0 forks source link

Wrong total basket value #667

Closed tiagonmas closed 2 years ago

tiagonmas commented 2 years ago

Describe the bug A user is seeing a negative total when adding and removing products from the basket. Edge on Windows 11, Portuguese cultural settings. The issue only happens when adding and removing products that have decimals. It does not happen with round numbers.

To Reproduce I could only reproduce it on the user PC (via skype). I could not yet repro locally.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots MicrosoftTeams-image

Desktop (please complete the following information):

image

image

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

tiagonmas commented 2 years ago

image

pmagno commented 2 years ago

The quantities of the items present in the basket were not updated too, because of the culture problem too (Locale), comma decimal separator.