Hello,
I came across such problem. I need to set the minimum quantity of products in cart to 5. By default, Magento has such a function. I set the minimum number of products to 5 for all user groups, but this does not work on the front end. That is, no warning messages are displayed and the order can be placed if the quantity is less than 5. I also tried to set both minimum and maximum quantity, the effect is the same.
There is nothing in the logs, Magento 2.4.6, theme Luma.
Has anyone encountered such a problem, which way to look?
Thanks in advance.
Setting it in Stores > Configuration > Catalog > Inventory > Product Stock Options should be all that is required.
Have you flushed cache after you applied this change?
Thanks for the answers. But the problem is that the minimum quantity of each product will be equal to the established value. And I need the total quantity of all items in the cart to be at least the specified value. So I establish Maximum Qty Allowed in Shopping Cart for each product 1 and for Cart (in Product Stock Options) 5 for example. And it doesn't work.