Log in
Model

ManageStockCondition

Magento\InventorySales\Model\IsProductSalableForRequestedQtyCondition\ManageStockCondition

What it does

This class validates whether a product can be sold for a requested quantity based on the 'Manage Stock' configuration setting.

Developers use this as a condition checker in the salability chain to ensure products with stock management disabled are properly handled during order placement or cart operations.

Public Methods

  • execute()