Log in
Model

IsProductSalable

Magento\InventoryIndexer\Model\IsProductSalable

What it does

This class determines if a product is available for purchase (salable) in a specific stock/warehouse.

Developers use this to check product availability on the storefront before allowing customers to add items to cart or during checkout validation.

It's a lightweight, performant implementation optimized for frontend operations.

Public Methods

  • execute()