Get the item inventory level

Here's the code:

Mage::getModel('cataloginventory/stock_item')->loadByProduct($item->getProductId())->getQty();

Still need help? Contact Us Contact Us