Magento – Move Currency Switcher to the Header

If you would like to move the currency switcher from the left column to the header, you can use the following instructions to do so!
Open /app/design/frontend/default/default/layout/page.xml
Locate:

<block type="page/html_header" name="header" as="header">

Change to:

<block type="page/html_header" name="header" as="header">
<block type="directory/currency" name="currency" template="directory/currency.phtml"/>

Open /app/design/frontend/default/default/template/page/html/header.phtml
After:

<?php echo $this->getChildHtml('store_language') ?>

Insert:

<?php echo $this->getChildHtml('currency') ?>

Save, Upload + Clear Cache
Make sure you have imported or manually entered your Currency Rates otherwise the switcher will not appear!
Its as simple as that!!

Written by Paul Donnelly

Hi I'm Paul, an avid Magento Developer from Northern Ireland. With almost 6 years of Magento experience under my belt, I still have a strong passion for it. By day I work as a Senior Ecommerce Developer for one of the top web development agencies in Northern Ireland, The Tomorrow Lab. If you'd like to keep up to date with my latest posts and rants, you can follow me on Twitter: @PaulDonnelly

One thought on “Magento – Move Currency Switcher to the Header

Leave a Reply

Your email address will not be published. Required fields are marked *

4 × 4 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>