Menu Close
    Searching for an experienced Magento 2 Development Company ?

    Magento2 – Add New Link in My Account Navigation Panel

    Here will se how to add new link in customer’s account panel in magento2.

    Link in My Account

    Create customer_account.xml in location Namespace/ModuleName/view/frontend/layout

    <?xml version="1.0"?>
    <page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    		<referenceBlock name="customer_account_navigation">
    			<block class="Magento\Framework\View\Element\Html\Link\Current" name="demo-link">
    					<argument name="path" xsi:type="string">module/controller/action</argument>
    					<argument name="label" xsi:type="string">Demo Link</argument>

    Result will be look likes the image.

    . . .
    Discuss on Helpdesk

    Leave a Comment

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


  • Cvince
    Is it possible to give class name to link with this?
  • Mohamed Mekkaoui
  • Callum Glenn Brankin
    How do i add a new page for that link?
  • Back to Top