Magento Themes and Magento Extensions

Magento: Display Currency Switcher in Header

Share

Magento: Display Currency Switcher in Header

dd 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’) ?>

Comments are closed.