I am trying to remove some links from the 'My Account' section of Magento 2.2.5.

the links i want to remove are

  • My Downloadable Products
  • Stored Payment Methods
  • Billing Agreements
  • My Subscription Profiles
  • My Saved Card Identifiers

after some research, i need to do this in customer_account.xml

and the code i am trying to use is

<referenceBlock name="customer-account-navigation-downloadable-products-link" remove="true"/>
<referenceBlock name="customer-account-navigation-billing-agreements-link" remove="true"/>
<referenceBlock name="customer-account-navigation-my-credit-cards-link" remove="true"/>

However when i use these, it only displays the top 3 existing navigation links and i cant find the remove statements for the other mentioned links

  • These My Subscription Profiles My Saved Card Identifiers are not default link Can you please tell me where you add this? – Rutvee Sojitra Aug 16 '18 at 12:52
  • im not sure what you mean? – vmp Aug 16 '18 at 12:53
  • i have updated my comment please check – Rutvee Sojitra Aug 16 '18 at 13:02
  • They came with our magento installation from GitHub – vmp Aug 16 '18 at 13:53
  • Can you please share screenshot where you talking about? – Rutvee Sojitra Aug 17 '18 at 4:58

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.