Log in
Model

ManageStockCondition

Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\ManageStockCondition

What it does

This class generates SQL conditions to determine if stock management should be considered when checking product salability.

It checks both product-level and global configuration settings to decide if inventory tracking is enabled, allowing products to be sold regardless of stock levels when management is disabled.

Public Methods

  • execute()