How to Remove Customer Account Dashboard Links
Step 1: Go to ( yourPackage/YourTemplate/customer/account/navigation.phtml )
Step 2: Replace the below line
<?php $count = count($links); ?>
**With**
<?php $_count = count($_links); /* Add or Remove Account Left Navigation Links Here -*/ unset($_links['account']); /* Account Info */ unset($_links['account_edit']); /* Account Info */ unset($_links['tags']); /* My Tags */ unset($_links['invitations']); /* My Invitations */ unset($_links['reviews']); /* Reviews */ unset($_links['wishlist']); /* Wishlist */ unset($_links['newsletter']); /* Newsletter */ unset($_links['orders']); /* My Orders */ unset($_links['address_book']); /* Address */ unset($_links['enterprise_customerbalance']); /* Store Credit */ unset($_links['OAuth Customer Tokens']); /* My Applications */ unset($_links['enterprise_reward']); /* Reward Points */ unset($_links['giftregistry']); /* Gift Registry */ unset($_links['downloadable_products']); /* My Downloadable Products */ unset($_links['recurring_profiles']); /* Recurring Profiles */ unset($_links['billing_agreements']); /* Billing Agreements */ unset($_links['enterprise_giftcardaccount']); /* Gift Card Link */ ?>
The above code snippet contains the way to remove all the navigation links. Hope this will help all.
Reference Link: https://github.com/Aproducktion/Magento-Remove-Dashboard-Links
I see 2 options here.
First and easiest: Just find the layout files that add these menu items and comment the code for them.
For example My applications
is added app/design/frontend/{interface}/{theme}/layout/oauth.xml
through this peice of XML
<customer_account>
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="oauth">
<name>OAuth Customer Tokens</name>
<path>oauth/customer_token</path>
<label>My Applications</label>
</action>
</reference>
</customer_account>
The second method, that I'm not 100% sure it will work is to add this xml inside the local.xml
layout file of your theme:
<customer_account>
<reference name="customer_account_navigation">
<action method="removeLinkByUrl"><url>oauth/customer_token</url></action>
</reference>
</customer_account>
You need to add one <action>
tag for each link you want to remove.
There is also the 3rd option, if you are not using the modules at all, just disable them. This can also boost performance.
For this create this file: app/etc/modules/Zzzz.xml
with this content:
<config>
<modules>
<Mage_Oauth>
<active>false</active>
</Mage_Oauth>
</modules>
</config>
You may have some troubles here is some other modules that you want to use, depend on the ones you want to disable.
There is a FOSS extension which adds the backend option to remote account links.
There is a second module (also FOSS) which adds the removeLink
method so that you can use the following in your local.xml
Disclaimer: I am a developer of the second extension.
<customer_account>
<reference name="customer_account_navigation">
<action method="removeLink"><name>OAuth Customer Tokens</name></action>
<action method="removeLink"><name>billing_agreements</name></action>
<action method="removeLink"><name>recurring_profiles</name></action>
</reference>
</customer_account>