$storeId = Mage::app()->getStore()->getId();
$product = Mage::getModel('catalog/product');
$products = $product->getCollection()->addStoreFilter($storeId)->getData();
This will fetch all product details of current store. If u change store it will show different product
No comments:
Post a Comment