How to show currency switcher in header in magento Step 1 :-First open page.xml file.(app/design/frontend/default/Your_Theme/layout/page.xml) Find below code. <block type="page/html_header" name="header" as="header"> Put below code after that line. <block type="directory/currency" name="currencyhead" template="directory/currency.phtml"/> Step 2 :-Put below code in header.phtml (app/design/frontend/default/Your_Theme/template/page/html/header.phtml) file where you want currency convertor. <?php echo $this->getChildHtml('currencyhead') ?> Clear Cache from admin side....... Enjoy.....................
Comments
Post a Comment