Edit links inside Magento account page

Edit links inside Magento account page

The Magento account page is the screen shown to the user after login.
In this page there is a menu with various items.

Depending on the website, not all the items presents in the menu are useful, some of them could confuse the customer.

By default the items presents in the menu are:

  1. Account Dashboard
  2. Account Information
  3. Address Book
  4. My Orders
  5. Billing Agreements
  6. Recurring Profiles
  7. My Product Reviews
  8. My Tags
  9. My Wishlist
  10. My Downloadable Products
  11. Newsletter Subscriptions
Magento account page links

Magento doesn’t implement directly in the administration backend a manager for this type of editing, so we have to edit the source files.

WARNING: the Magento layout edits are saved in the CMS cache, remember to refresh the Magento cache after every edit (or disable the cache temporally).

1. 2. 3. Account Dashboard, Account Information, Address Book

These three menu items could be found inside the file

/app/design/frontend/*/*/layout/customer.xml

For removing the item Account Dashboard you have to comment out this line of code

<action method=”addLink” translate=”label” module=”customer”><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>

For removing the item Account Information you have to comment out this line of code

<action method=”addLink” translate=”label” module=”customer”><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>

For removing the item Address Book you have to comment out this line of code

<action method=”addLink” translate=”label” module=”customer”><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>

4. My Orders

This menu item could be found inside the file

/app/design/frontend/*/*/layout/sales.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”sales”><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>

5. Billing Agreements

This menu item could be found inside the file

/app/design/frontend/*/*/layout/sales/billing_agreement.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label”><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action>

6. Recurring Profiles

This menu item could be found inside the file

/app/design/frontend/*/*/layout/sales/recurring_profile.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label”><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action>

7. My Product Reviews

This menu item could be found inside the file

/app/design/frontend/*/*/layout/review.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”review”><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>

8. My Tags

This menu item could be found inside the file

/app/design/frontend/*/*/layout/tag.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”tag”><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>

9. My Wishlist

This menu item could be found inside the file

/app/design/frontend/*/*/layout/wishlist.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”wishlist” ifconfig=”wishlist/general/active”><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>

10. My Downloadable Products

This menu item could be found inside the file

/app/design/frontend/*/*/layout/downloadable.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”downloadable”><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>

10. Newsletter Subscriptions

This menu item could be found inside the file

/app/design/frontend/*/*/layout/newsletter.xml

For removing this you have to comment out this line of code

<action method=”addLink” translate=”label” module=”newsletter”><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>

A little tip before the end

If some functions aren’t used at all in your website, more than hiding only a menu item, it’s better to directly disable this function. As example if you’re sure that the function Tag will not be used, you could disalbe it going on System -> Configuration -> Advanced and disabling the Mage_Tag module.

5 comments on Edit links inside Magento account page

Leave a Reply

Your email address will not be published. Required fields are marked *