Edit links inside My Account page via xml files
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:
- Account Dashboard
- Account Information
- Address Book
- My Orders
- Billing Agreements
- Recurring Profiles
- My Product Reviews
- My Tags
- My Wishlist
- My Downloadable Products
- Newsletter Subscriptions
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>
No comments:
Post a Comment