I have set up the currency according to store view but when I see the frontend, it's not displaying.

I have done all the things. Moved the currency using the default.xml file.

<move element="currency" destination="header.sections"/>

Call this from my custom phtml file.

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

when I open the template hints, the currency file is calling from the vendor module but not displaying in frontend.

See the below image.

enter image description here

Is there anything which I had missed out.

  • Have you set the currency rates? – aravind Feb 20 '20 at 6:50
  • yes, I have set current rates. – Pankaj Pant Feb 20 '20 at 6:50
  • Before the code you have used to move the currency, does currency switcher displayed? – aravind Feb 20 '20 at 6:51
  • wait, I will check in the RWD theme. – Pankaj Pant Feb 20 '20 at 6:53
  • no only language switcher is showing in RWD & my custom theme. – Pankaj Pant Feb 20 '20 at 6:54

Your Answer

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

Browse other questions tagged or ask your own question.