Add the following XML in layout/directory.xml between <default> and </default>
<reference name="header">
<block type="directory/currency" name="top.currency" template="directory/currency.phtml"/>
</reference>
Add following code in header.phtml
<?php echo $this->getChildHtml('top.currency') ?>
<reference name="header">
<block type="directory/currency" name="top.currency" template="directory/currency.phtml"/>
</reference>
Add following code in header.phtml
<?php echo $this->getChildHtml('top.currency') ?>
have a look at the following extension for a Currency Switcher popup.
ReplyDeletehttp://www.fmeextensions.com/magento-geo-ip-default-language-currency.html