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.
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?
Solved! Go to Solution.
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
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