You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decimal numbers in Per Item Discount are rendered differently in commerce depending on the logged in users language settings.
A discount set to for example 0.75 will render as 0 in dutch
Steps to reproduce
Create a discount with the Per Item Discount set to a decimal number, for example 0.75
Switch user language to "nederlands"
Go back to the discount, Per Item Discount will be shown as 0 instead of 0.75
Additional info
Craft version: 3.3.16.3
PHP version: 7.2.25
Database driver & version: MySQL 5.7.27
Plugins & versions: Commerce 2.2.8
Discount with user language set to English (United Kingdom)
Discount with user language set to Nederlands
The text was updated successfully, but these errors were encountered:
Description
Decimal numbers in Per Item Discount are rendered differently in commerce depending on the logged in users language settings.
A discount set to for example 0.75 will render as 0 in dutch
Steps to reproduce
Additional info
Discount with user language set to English (United Kingdom)
Discount with user language set to Nederlands
The text was updated successfully, but these errors were encountered: