Log in
Model

IsSalableWithReservationsCondition

Magento\InventorySales\Model\IsProductSalableCondition\IsSalableWithReservationsCondition

What it does

This class determines whether a product is available for sale by checking its quantity including reservations (pending orders) against a specific stock.

Developers use this when they need to verify product availability in a Multi Source Inventory (MSI) context, considering both physical stock and reserved quantities for orders not yet fulfilled.

Public Methods

  • execute()