$product->getStockItem()->getQty();
Yes, there is no method for it - it's set using setStockItem()
from Mage_CatalogInventory_Model_Stock_Item::assignProduct()
via the catalog_product_load_after
event.
Posted by Mike Whitby to Magento (2012-05-09 23:46)