magento2: "Minimum Qty Allowed in Shopping Cart" functionality breaks product "Update Attributes" functionality
Preconditions (*)
- Magento 2.2.7 / 2.3.0
Steps to reproduce (*)
- Check the value of
cataloginventory/item_options/min_sale_qty
, the default value is1
. - Go to: Stores -> Configuration -> Catalog -> Inventory
- Make sure there are multiple or no rules for ‘Minimum Qty Allowed in Shopping Cart’ & save your configuration.
- You’ll now see that
cataloginventory/item_options/min_sale_qty
gets an array as a value. - Go to: Catalog -> Products
- Select one or more products and click on
Update Attributes
in the Actions dropdown menu.
Expected result (*)
- The ability to do a Mass Update of attributes for the selected product(s).
Actual result (*)
- No form visible
- Our
system.log
reports the following issue:
main.CRITICAL: Warning: A non-numeric value encountered in vendor/magento/module-catalog/view/adminhtml/templates/catalog/product/edit/action/inventory.phtml on line 135
This is because cataloginventory/item_options/min_sale_qty
is no longer a numeric value.

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (22 by maintainers)
@samgranger Reproduced. Thanks for correction.
Hi @hiren0241, here is your Magento instance. Admin access: https://i-21640-2-3-develop.instances.magento-community.engineering/admin Login:
admin
Password:123123q
Instance will be terminated in up to 3 hours.@magento-engcom-team give me 2.3-develop instance