Tag Archives: frontend

Display the currency in frontend in Magento

Display currency in Dropdown menu as follows:

In page.xml add the Block if not exist

1
<block type="directory/currency" name="currency" as="currency" template="directory/currency.phtml"/>

Template File

1
/app/design/frontend/default/your-theme/template/directory/currency.phtml

To get the Currency Symbol in front end

1
2
3
4
5
6
7
<?php
if($this->getCurrencyCount()>1):
foreach ($this->getCurrencies() as $_code => $_name):
echo Mage::app()->getLocale()->currency($_code)->getSymbol();
endforeach;
endif;
?>