0

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

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.