cancel
Showing results for 
Search instead for 
Did you mean: 

Remove links from customer account dashboard

SOLVED

Remove links from customer account dashboard

I've searched and searched but can't figure it out. How do I remove extraneous links from the customer dashboard? (i.e. Newsletter, billing agreements, and downloadable products)

My (purchased) custom theme did not have the Magento_Customer folder, so I added it and it's subfolders/files according to this site, cleared all cache and nothing ... No changes at all.

Did I miss something? Please help.Cat Frustrated

 

Edited to add: I've now created a Magento_Newsletter folder and it's subfolders/files in hopes it needed to be at that level. Sadly it hasn't worked this way either?! What am I doing wrong?

2 REPLIES

Re: Remove links from customer account dashboard

We were in the same trouble, but we found extension that helped us to remove customer links http://magery-themes.com/magento-2-account-links-manager.html

Re: Remove links from customer account dashboard

hi @AmagArtwork

 

In your default.xml add the following code use their name that are defined in layout xml
 

Address Book  = customer-account-navigation-address-link

My Wishlist =customer-account-navigation-wish-list-link

Billing Agreements =customer-account-navigation-billing-agreements-link

 

 

<?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">
    <body>
        <referenceBlock name="customer-account-navigation-address-link" remove="true"/>
    </body>
</page>


Remove var/cache folder and disabled the cache from admin panel. and set the developer mode

Find helpful ? Consider Giving Kudos to this post.
Problem solved? Click Accept as Solution!"
Qaisar Satti