inventory
inventory copied to clipboard
Cart item not updating while maximum quantity allowed in cart is set to 1
Preconditions (*)
- Magento version 2.4.1 + Inventory
- PHP 7.4
Steps to reproduce (*)
- Create a simple product in admin panel with customizable options
- Set Maximum Qty Allowed in Shopping Cart value to 1 for the product
- Add product to cart with selecting any customizable option.
- Product added to cart successfully
- Click on edit item in cart page for the product
- Change cutomizable option for the product (keep quantity 1)
- Click on "Update Item" button
Expected result (*)
- It should update existing cart item with selected custom option value
Actual result (*)
- It throws error message "The requested qty exceeds the maximum qty allowed in shopping cart"
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- [ ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- [ ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Hi @jsutariya. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
I can confirm that this issue also occurs on Magento 2.4.6-p3