-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Advanced/Tier Pricing thousand separators corrupt quantities on save (e.g. qty of 1,000 on save becomes 1) #6002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Additionally, the same bug affects the 'weight' field |
Duplicate of #5745 |
This issue can be corrected temporarily (until an official bug release) by amending lines 107 and 108 of General.php This file can be found in the generally (composer or downloaded from webste) installed version, at: or in the version on GitHub at: Change:
Do not simply comment out the line as the casting to an int is required. |
@Part-A Technically the QTY field doesn't have to be an int, it can be a float as well. To convert to a number, do |
To add to it, if you upload advanced pricing using csv ( bulk upload ) then go a head and view the same product in the catalog --> product section --> Advanced Pricing . It shows with thousands separator now try to save. Expected Result |
Closed as duplicate #5745 |
[honey] MC-32659: MyAccount :: Order Details :: Order Details by Order Number with additional different product types
Bug is apparent in version 2.1, I have not checked earlier versions.
System set to a language that uses , (comma) as a thousands separator.
When creating a product with a advanced/tiered pricing structure, naturally, quantities of 1000 or above may be required. However, if a product is revisited and saved the quantities of 1000 and above are truncated at the displayed thousands separator: 1,000 becomes 1, 2,000 becomes 2, etc.
Steps to reproduce are:
The text was updated successfully, but these errors were encountered: