{"id":506,"date":"2019-07-15T10:16:26","date_gmt":"2019-07-15T10:16:26","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/07\/15\/remove-unnecessary-customer-account-links-in-magento-2\/"},"modified":"2025-07-22T18:08:08","modified_gmt":"2025-07-22T12:38:08","slug":"remove-unnecessary-customer-account-links-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/remove-unnecessary-customer-account-links-in-magento-2\/","title":{"rendered":"How to Remove Unnecessary Customer Account Links in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The default Magento 2 \u201cMy Account\u201d section offers a number of tabs such as<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Account Dashboard<\/li>\n\n\n\n<li>Account Information<\/li>\n\n\n\n<li>Address Book<\/li>\n\n\n\n<li>My Downloadable Products<\/li>\n\n\n\n<li>My Orders<\/li>\n\n\n\n<li>Newsletter Subscriptions<\/li>\n\n\n\n<li>Stored Payment Methods<\/li>\n\n\n\n<li>My Product Reviews<\/li>\n\n\n\n<li>Billing Agreements<\/li>\n\n\n\n<li>My Wish List<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Previously, I had discussed&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/add-custom-tab-in-customer-account-dashboard-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to add Custom Tab in Customer Account Dashboard in Magento 2<\/a>&nbsp;to add custom tabs in My Account section for the specific requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Customers seem to be cleanliness freak!&nbsp;&nbsp; <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And thus, Sometimes we need to customize the code to exclude unnecessary links as not all links are needed.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/07\/Meetanshi-Cleaning-GIF.gif\" alt=\"Remove Unnecessary Customer Account Links in Magento 2\" class=\"wp-image-6064\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">I\u2019ll help you&nbsp;<em><strong>remove unnecessary customer account links in Magento 2<\/strong><\/em>&nbsp;to manage the \u201cMy Account\u201d section. Implementing this in your store, you are making sure that customers can easily navigate and find the exact things they want faster. Improve the customer experience and offer an easy-to-use customer account dashboard for Magento 2!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the below code for easy Magento 2 Customer Account Links Manager!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method to Remove Unnecessary Customer Account Links in Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create&nbsp;<strong>customer_account.xml<\/strong>&nbsp;file at&nbsp;<em><strong><em><strong>app\\code\\Vendor\\Extension\\view\\frontend\\layout\\<\/strong><\/em><\/strong><\/em><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\"?>\n&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n    &lt;body>\n        \n        &lt;!--remove newsletter tab-->\n        &lt;referenceBlock name=\"customer-account-navigation-newsletter-subscriptions-link\" remove=\"true\"\/>\n        \n        &lt;!--remove wishlist tab-->\n        &lt;referenceBlock name=\"customer-account-navigation-wish-list-link\" remove=\"true\"\/>\n        \n        &lt;!--remove review tab-->\n        &lt;referenceBlock name=\"customer-account-navigation-product-reviews-link\" remove=\"true\"\/>\n    &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it. Implementing this, the customer account dashboard looks something like this where the links to Newsletter Subscription, Wish lIst, and Product Reviews are absent:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/07\/remove-unnecessary-customer-account-links-in-magento-2.png\" alt=\"Account information\" class=\"wp-image-6016\"\/><figcaption class=\"wp-element-caption\">remove unnecessary customer account links in magento 2<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">As per your business requirements, you can implement this method to remove the unnecessary tabs in Magento 2. For example, if you are not offering a newsletter, for now, remove the Newsletter subscription link altogether. Likewise you can also&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/how-to-delete-customer-accounts-in-magento-2\/\">delete customer accounts in Magento 2<\/a>&nbsp;that are unnecessary to have smaller and accurate database to make smooth operations in Magento 2 store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default Magento 2 \u201cMy Account\u201d section offers a number of tabs such as Previously, I had discussed&nbsp;how to add Custom Tab in Customer Account&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=506"}],"version-history":[{"count":6,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":19078,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/506\/revisions\/19078"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}