🎉 Edit Your Mobile Application's Home using the Elementor Integration.

PrestaShop - How to get number of available quantities for a product?

Tiny Code

For a given id_product and id_product_attribute, gets its stock available. Locate this static class classes/stock/StockAvailable.php

public static function getQuantityAvailableByProduct($id_product = null, $id_product_attribute = null, $id_shop = null)

Posted 3 years ago by Sam Berry