Thursday, 3 April 2014

Magento – Get Product Stock Quantity

Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty()

No comments:

Post a Comment