Subesh Pokhrel

Magento Developers Blog

Getting the Product's Price in Current Currency Format of Store

Magento gives an option to have different currency defined for each store. To get the product’s price based on the current store you can use the following code. It uses the default Magento’s helper class to do. [source language=”php”] currency($product->getFinalPrice(),true,false); ?> [/source] In the code above $product is the product, whose price you will want to format.