How to get Magento Format Price with default currency symbol

Whenever we fetch all data of a product by using either product sku or by using product id, Price also we need . But if we fetch product price then it display price as number format without any currency . So if you want to fetch price like magento price format then you have to pass your price variable in the following code then you can get the dynamic currency also.

Let you got your price by

$price = $_Pdetails->getPrice();
// To fetch price like magento format price write
$magento_style_price = Mage::helper('core')->currency($price);


  1. Hi Anjan Barik,

    I first want to thank you for the very uselful information you are sharing :) I have a question regarding price output in the view.phtml of magento. I want to write you a mail but I can't find any emial adress or contact form. Can you provide a adress or just repley to krisses.mails@googlemail.com


  2. Anonymous11/23/2012

    Im trying to know how to fetch default price in magento. Did you achieve this ?