Get Current store id
$storeId = Mage::app()->getStore()->getId();
Load product
$product = Mage::getModel('catalog/product')
->setStoreId($storeId)
->load($key);
Get Current store id
$storeId = Mage::app()->getStore()->getId();
Load product
$product = Mage::getModel('catalog/product')
->setStoreId($storeId)
->load($key);
Copyright © 2014 Magento | Crafted by VeeThemes.com
0 comments:
Post a Comment