We are looking to solve a problem with Magento 2.4.6 (version probably irrelevant). We have multiple configurable products available for sale and customers will place orders for big quantities of the various options. For example 500 Red / 400 Green / 300 Blue. Once they have been through and added all their items to a basket should there be only 450 Red available it means the customer is presented with the “Requested Qty not available” message. This means that they need to view each product manually and see which stock numbers have been changed.
Is there a way to decrement the number of items in the cart to the max stock available (if fewer than initially requested).
This would also be useful if the same rule could apply when adding to the cart from a page with multiple varients in case the stock numbers change as the user is filling out the values.
Thanks.