-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Max Qty Allowed: Core Magento feature removed by #18477 and causes bug #23319 #23731
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
Hi @duffner. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @duffner do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi, @duffner ! I can't reproduce this issue on fresh 2.3-develop branch and on 2.3.1, because this is already fixed(added validation for "max qty in cart" input). |
@engcom-Bravo, maybe you don't understand. I want infinite allowed in the shopping cart, how is this possible today? |
@duffner, this GitHub issue tracker is intended for Magento Core technical issues only. Please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this issue. Thank You. |
I kind of agree with @duffner here, if the number 0 previously had a special meaning of infinite then the changes done in #18481 & #18552 were not correct. To make this consistent with the global config value, either the same validation should be applied to that field, or the new validation from above PR's should get reverted. However, the default value for that field is set to 10.000, I just verified this both in code as in a vanilla installation. I think it's enough to keep #23319 open as that seems to track the same problem, I'm leaving this one closed for now. |
@hostep, sorry about the extremely delayed response, I have a lot of open tickets where I'm watching and this one slipped through the cracks! I agree with your statement, that since 0 had a special meaning, leave it intact. And yes, we have quite a few customers who exceed the 10k number very often, granted these are all Commerce Edition customers but I think it makes it even more valid. I personally agree with Magento's approach on allowing "Infinite" values using "0" this has been the standard practice in Magento for over 12 years, and if this change is made, it should be made EVERYWHERE in the application. There shouldn't be a case on one field where it works differently than all other fields. If anything, there should be an "Infinite Setting, and then if that is set to false, then a dependent setting of Value". I'm sorry, but having to set some fake number, just to set a fake number seems like terrible programming. With all this said, I have no issues changing the approach, but I have an issue with inconsistency in an application and config values that have no true value. This same change was made one-time in the early days of Magneto for "Free Shipping Threshold" within the free shipping module. I bet you will find 95% of stores, with the free shipping threshold set to "1000000000000000" so you can use Free Shipping in Coupon Codes, without giving free shipping based on the threshold of an order's value. |
Hi @duffner Sorry currently little time to dig into this again (it was indeed a while ago), but I'm noticing that #23319 is fixed now in Magento 2.3.4 by MC-17606. If I understand Magento's fix correctly, it kind of fixes the issue, but not like you want probably. |
Through ticket #18477, a core Magento feature was removed. When removing the ability to set "0" as an allowed value of Max Qty in Cart, multiple things happen.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
If a customer has an issue with this value, then they should update this value themselves instead of Magento removing this feature.
The text was updated successfully, but these errors were encountered: