Magento – Format Price with Currency

  • magento format price
  • magento price format

When you fetch product data, you get the price as integer. Now, you must display the price with currency suffix. You can do this with the following code:-

// let $_finalPrice be the integer price fetched

$formattedPrice = Mage::helper('core')->currency($_finalPrice,true,false);

Looking for improvement for your Magento Store?
Facebook Connector Extension
Product related article extension
Magento Offer popup on exit extension
Unlimited Slideshow Magento Extension
Light Checkout in One Step Magento Extension

Comments Closed