Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
Product Quantity in Javascript??? 
 
scma
Member
 
Total Posts:  31
Joined:  2008-04-17
 

Hello,

in PHP i know that i can read the quantity from a product:

$product Mage::getModel('catalog/product')->load($productId);
$quantity Mage::getModel('cataloginventory/stock_item')->loadByProduct($product)->getQty();

Is it possible to read the quantity from a product with javascript?
Thanks in advance and greetings from germany
Markus

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2010 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
177711 users|1186 users currently online|277287 forum posts