-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Magento 2.4.7 update (mini)cart no decimal qty allowed #39236
Comments
Hi @Jilco. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento give me 2.4.7 instance |
Hi @Jilco, Thanks for your reporting and collaboration. We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. ![]() Product with quantity 0.7 in cart. Kindly recheck the issue in Latest 2.4-develop instance and elaborate the steps to reproduce if the issue is still reproducible. Thanks. |
@engcom-Bravo have jou also tried tot change the 0.7 to 0.8 in the minicart and/or with the pencil? That is the problem |
@magento give me 2.4-develop instance |
@engcom-Bravo any updates? Customers cannot configure cart items now with decimals.. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @Jilco, Thanks for your update. We have verified the issue in Latest 2.4-develop instance and the issue is not reproducible.Kindly refer the attached video. Screen.Recording.2024-10-08.at.10.10.53.movPlease enable Qty Uses Decimals under Advanced inventory as stated in above video after that we can able to add the decimal quantity for the product. Thanks. |
@engcom-Bravo i'm almost sure it has to do with the locale option (in my case set to The Netherlands). Due to that the comma and point in a number will be else (comma is decimal seperator in NL instead of thousand seperator in US). When i add below to vendor/magento/framework/Filter/LocalizedToNormalized.php the problem is solved
So please test again with other locale option (nl-NL) |
HI @Jilco, Thanks for your update. We have verified the issue in the Latest 2.4-develop instance with locale option (nl-NL) and the issue is reproducible.Kindly refer the attached video. Screen.Recording.2024-10-14.at.12.17.21.movWhen we are updating the qty in the mini cart it is not updating. Hence Confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-13238 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
@magento I am working on this |
- fixed issue with the wrong parsing float values (depends on '.' or ',')
- fixed issue with the wrong parsing float values (depends on '.' or ',')
@magento run all tests |
- change copyright
Preconditions and environment
Steps to reproduce
Expected result
Expected that 0.7 is in cart
Actual result
In cart is 1
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: