0

How would I add a link to the settings tab on the mobile navigation?

Magento 2.3

I have tried the following in my default.xml and flushed the cache but it did not work

<?xml version="1.0"?>
<!--
/**
 * Copyright © 2015 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
    <body>

        ......

        <referenceBlock name="store.settings">
            <block class="Anowave\TaxSwitch\Block\Switcher" name="tax.switcher.mobile" as="tax.switcher.mobile" template="Anowave_TaxSwitch::switcher.phtml" before="-" />
        </referenceBlock>

        ......

    </body>
</page>

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.