Log in
Model

Config

Magento\Quote\Model\Config

What it does

This configuration class provides access to the inventory check setting for quote items in Magento 2.

Developers use this class to determine whether inventory validation should be performed when loading quote items, allowing them to conditionally enable or disable stock verification based on the store's configuration settings.

Public Methods

  • isEnabled()