magento / inventory

Magento Inventory Project (a.k.a MSI)
Open Software License 3.0
337 stars 248 forks source link

Cart item not updating while maximum quantity allowed in cart is set to 1 #3259

Open jsutariya opened 3 years ago

jsutariya commented 3 years ago

Preconditions (*)

  1. Magento version 2.4.1 + Inventory
  2. PHP 7.4

Steps to reproduce (*)

  1. Create a simple product in admin panel with customizable options
  2. Set Maximum Qty Allowed in Shopping Cart value to 1 for the product
  3. Add product to cart with selecting any customizable option.
  4. Product added to cart successfully
  5. Click on edit item in cart page for the product
  6. Change cutomizable option for the product (keep quantity 1)
  7. Click on "Update Item" button

Expected result (*)

  1. It should update existing cart item with selected custom option value

Actual result (*)

  1. 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.

m2-assistant[bot] commented 3 years ago

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


jbclaudio commented 1 year ago

I can confirm that this issue also occurs on Magento 2.4.6-p3