i want to add Currency switcher in footer section.

| improve this question | | | | |

Override default.xml file in your current theme and add below code :-

<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceContainer name="footer">
            <block class="Magento\Directory\Block\Currency" name="currency" before="store_language" template="currency.phtml"/>

Run setup:upgrade command and clear cache

| improve this answer | | | | |
  • mansi , thank you for your reply but it is not working i have already tried this and can u suggest me another method to display?. – gajjala sandeep Jan 8 '18 at 10:04
  • mansi, thank you for your reply and it is working ....cache issue so when i cleared it was working. – gajjala sandeep Jan 8 '18 at 10:14

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.