magento / inventory

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

Can not add Bundle to cart if Simple has Minimum Qty Allowed limit #3288

Open sdzhepa opened 3 years ago

sdzhepa commented 3 years ago

ISSUE:

When Simple product has Minimum Qty Allowed limit it is impossible to add Bundle which has it as option if smaller amount is selected. This case may be useful when merchant does not want to sell some item separately, e.g. cord or 1 bottle of wine, but is ok when it is sold as part of bundle, e.g. whole computer, or box of assorted wines, etc.

PRECONDITIONS:

STEPS TO REPLICATE:

  1. Create a Simple product -- Minimum Qty Allowed in Shopping Cart = 6 (Advanced Inventory)
  2. Create second Simple product - with any settings -- it is needed as currently there is some issue is present for bundles which have only one product in option, later this step may be pommited
  3. Create Bundle product -- Add both simples to one option -- use 1 as default amount
  4. Open Storefront
  5. Open Bundle product
  6. Select first simple product (the one with limitations) as option value
  7. Add bundle product to cart

ACTUAL RESULTS:

Error message: The fewest you may purchase is 6.

EXPECTED RESULTS:

Product is added to cart successfully

Additional information:

Issue created based on internal Jira bug report MC-40980 After investigating of public issue: https://github.com/magento/magento2/issues/14377 This issue was closed as can not reproduce, but should be reopened

m2-assistant[bot] commented 3 years ago

Hi @sdzhepa. 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


jigar48 commented 3 years ago

I am still getting this issue on Magento 2.4.2. Is there any solution so far ?

dattruongthe commented 2 years ago

Hi dev team, Do we have any update related to this issue? It still happens on Magento 2.4.3-p1

Thanks.

loryzz commented 1 year ago

Any updates on this issue? I'm using Magento 2.4.4-p2 and it still happens.