Wednesday, June 15, 2011

How to get currency symbol in .phtml file in magento


You can use this:
<?php echo Mage::helper('core')->currency('123.23') ?>
which will output something like:
<span class="price">123,23 €</span>

Enjoy......

No comments:

Post a Comment