When getting a product collection in Magento, I would expect the StoreFilter to do just that, filter by the current store. But I can\'t get it to work.
Say I have 2
This worked for me:
Mage::app()->setCurrentStore($storeId); $productCollection = Mage::getModel('catalog/product') ->getCollection() ->addStoreFilter() ->addAttributeToSelect(array('sku','price'));