Magento Themes and Magento Extensions

Magento: Load store specific product


Different stores can be set in Magento. A product can be made visible in selected stores.

* get store id
$storeId = Mage::app()->getStore()->getId();
* call the Magento catalog/product model
* set the current store ID
* load the product
$product = Mage::getModel(‘catalog/product’)

Leave a Reply

You must be logged in to post a comment.