Magento – How to get the price of a product for each store view

magento-1.9

I have created a custom tab in the product admin.

I have multiple input fields there and I want the values of them to be the price of the product for each store view.

Best Answer

$id = Mage::registry('current_product')->getId();
$storeID = Mage::app()->getStore($eachStore)->getId();

Mage::getModel('catalog/product')->setStoreId($storeID)->load($id)->getPrice();

This is how to do it:)

Note: I am using a foreach loop to get every store I have, hence the $eachStore

Related Topic