Model
BackordersCondition
Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\BackordersCondition
What it does
This class builds SQL conditions to determine if a product can be sold when backorders are enabled.
Developers use this when checking product salability in multi-source inventory scenarios, where items may be out of stock but still orderable based on backorder configuration at both global and product levels.
Public Methods
- execute()