Log in
Model

MinQtyStockWithReservationsCondition

Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\MinQtyStockWithReservationsCondition

What it does

This class implements a salability condition that determines if a product is available for sale by checking if the available quantity (stock minus reservations) exceeds the configured minimum quantity threshold.

Developers use this when the inventory system needs to evaluate whether a product can be sold, taking into account both physical stock levels and pending reservations from incomplete orders.

Public Methods

  • execute()