I am using my own custom version of the RWD theme and would like to know how I can display a currency switcher in the div .header-language-background, how would i go about doing this? thanks


Create local.xml at app/design/frontend/rwd/default/layout if it not exist, then call currency dropdown by below code:

<reference name="store_language">
           <block type="directory/currency" name="topcurrency"  template="directory/currency.phtml"/>

then call this block using <?php echo $this->getChildHtml('topcurrency') ?> in languages.phtml which located at app/design/frontend/rwd/default/template/page/switch/

  • I don't want it in my header , I want it in the language switcher area at the top of the site and would preferably like to insert it with html in header.phtml so i can make sure it is in the right div
    – Oli Tuck
    May 3 '16 at 14:56
  • where do you put the php code? to call it
    – Oli Tuck
    May 3 '16 at 15:16
  • i had already told you that you need to call <?php echo $this->getChildHtml('topcurrency') ?> at languages.phtml
    – Amit Bera
    May 3 '16 at 18:43
  • This is incorrect, there is '<?php echo $this->getChildHtml('currency_switcher') ?>' in my header.phtml
    – Oli Tuck
    Jun 21 '16 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.