Model
IsSalableWithReservationsCondition
Magento\InventorySales\Model\IsProductSalableForRequestedQtyCondition\IsSalableWithReservationsCondition
What it does
This class validates whether a product has sufficient quantity available for purchase by checking stock levels including reservations.
Developers use this to ensure customers cannot order more items than are actually available, considering pending orders and reservations that reduce available inventory.
Public Methods
- execute()