When a user log in to a Magento Store, he/ she is taken to the User Account page. It looks like this:
There are various items on the left menu usually. Depending on your website's type and your requirement, not all the items presents in the menu are useful.
By default, there are following items on the left menu of Account page:
Note: Magento layout edits are saved in the CMS cache, remember to refresh the Magento cache after every edit or disable it temporarily.
To remove:
i. Account Dashboard
ii. Account Information
iii. Address Book
Go to:
To remove the item Account Information you have to comment out this line of code
Go to
Go to /app/design/frontend/*/*/layout/sales/
and find and comment out the following code:
Go to
Go to
Go to
Go to /app/design/frontend/*/*/layout/wishlist.xml
and find and comment out the following code:
Go to /app/design/frontend/*/*/layout/downloadable.xml
and find and comment out the following code:
Go to /app/design/frontend/*/*/layout/newsletter.xml
and find and comment out the following code:
Go to /app/design/frontend/*/*/layout/outh.xml
and find and comment out the following code:
There are various items on the left menu usually. Depending on your website's type and your requirement, not all the items presents in the menu are useful.
By default, there are following items on the left menu of Account page:
- Account Dashboard
- Account Information
- Address Book
- My Orders
- Billing Agreements
- Recurring Profiles
- My Product Reviews
- My Tags
- My Wishlist
- My Downloadable Products
- Newsletter Subscriptions
- My Applications
Note: Magento layout edits are saved in the CMS cache, remember to refresh the Magento cache after every edit or disable it temporarily.
To remove:
i. Account Dashboard
ii. Account Information
iii. Address Book
Go to:
/app/design/frontend/*/*/layout/customer.xml
To remove
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
>
To remove 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
>
To remove
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
>
To remove:
iv.
My OrdersGo to
/app/design/frontend/*/*/layout/sales.xml
and find and comment out
the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"sales"
><
name
>orders</
name
><
path
>sales/order/history/</
path
><
label
>My Orders</
label
></
action
>
To remove:
v.
Billing AgreementsGo to /app/design/frontend/*/*/layout/sales/
billing_agreement.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
><
name
>billing_agreements</
name
><
path
>sales/billing_agreement/</
path
><
label
>Billing Agreements</
label
></
action
>
To remove:
vi.
Recurring ProfilesGo to
/app/design/frontend/*/*/layout/sales/recurring_profile.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
><
name
>recurring_profiles</
name
><
path
>sales/recurring_profile/</
path
><
label
>Recurring Profiles</
label
></
action
>
To remove:
vii.
My Product ReviewsGo to
/app/design/frontend/*/*/layout/review.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"review"
><
name
>reviews</
name
><
path
>review/customer</
path
><
label
>My Product Reviews</
label
></
action
>
To remove:
viii.
My TagsGo to
/app/design/frontend/*/*/layout/tag.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"tag"
><
name
>tags</
name
><
path
>tag/customer/</
path
><
label
>My Tags</
label
></
action
>
To remove:
ix.
My WishlistGo to /app/design/frontend/*/*/layout/wishlist.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"wishlist"
ifconfig
=
"wishlist/general/active"
><
name
>wishlist</
name
><
path
>wishlist/</
path
><
label
>My Wishlist</
label
></
action
>
To remove:
x.
My Downloadable ProductsGo to /app/design/frontend/*/*/layout/downloadable.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"downloadable"
><
name
>downloadable_products</
name
><
path
>downloadable/customer/products</
path
><
label
>My Downloadable Products</
label
></
action
>
To remove:
xi.
Newsletter SubscriptionsGo to /app/design/frontend/*/*/layout/newsletter.xml
and find and comment out the following code:
<
action
method
=
"addLink"
translate
=
"label"
module
=
"newsletter"
><
name
>newsletter</
name
><
path
>newsletter/manage/</
path
><
label
>Newsletter Subscriptions</
label
></
action
>
and finally
To remove:
xii. My Applications
Go to /app/design/frontend/*/*/layout/outh.xml
and find and comment out the following code:
<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>
Useful Tip:
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.
9 comments:
Exellent tutorial
you're awesome! thanks a lot! :)
Thanks to all for liking my posts.. keep watching.. There is much more to come.. :)
Thank you, for this post
Hi Mohit,
Thank you for your post. Really helpful for me.. I have removed the 'Billing Agreements', 'Recurring Profiles', 'My Downloadable' but also i need to remove "My Applications". Where i need to remove that link. Please advice me.
Thanks & Regards
Dhayalan
Hi Dhaya Ian,
Thanks for the comment.
To remove link of "My Applications", go to:
app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/layout/oauth.xml
and find block of code like below:
<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>
Just comment out or remove this code.
This will remove "My Applications" link from Customer Account left section.
In order to remove any links like Top Links, Footer Links, My Account Links etc via admin interface, I would recommend the following free extension which just works out of the box:
http://www.magentocommerce.com/magento-connect/frontend-links-manager.html
Happy E-Commerce!
Exellent tutorial
A definitive guide on the topic. Very good and thanks.
Post a Comment