NotAvailableMessage
Magento\CatalogInventory\Model\Config\Source\NotAvailableMessage
What it does
This class provides configuration options for inventory availability messages in Magento's admin panel.
Developers use it to define what message displays when a product doesn't have enough stock - either showing the exact quantity available (X of Y) or a generic 'not enough items' message.
It implements OptionSourceInterface to supply these options to system configuration fields.
Public Methods
- toOptionArray()
- toArray()