Log in
Model

BackOrderNotifyCustomerCondition

Magento\InventorySales\Model\IsProductSalableCondition\BackOrderNotifyCustomerCondition

What it does

This class checks if a product can be sold when backorders are enabled with customer notification.

It validates if the requested quantity exceeds available stock and generates a warning message informing the customer about the backordered quantity.

Developers use this to implement backorder notifications in the checkout or cart when inventory is insufficient but backorders are allowed.

Public Methods

  • execute()