Model
GetProductQtyLeft
Magento\InventoryCatalogFrontendUi\Model\GetProductQtyLeft
What it does
This model retrieves the quantity of product stock available for display on the frontend.
Developers use this class to show customers how many items are left in stock for a specific product SKU on a particular stock/sales channel, with the quantity only returned if it meets display threshold criteria configured in the system.
Public Methods
- execute()