who disable recent orders only customer account dashboard.

And I want to avoid using other modules sidebar. I just want the customer menu are displayed.

thank you

enter image description here

  • you need to remove all the sidebar links except dashboard in customer my account page Jul 18 '15 at 21:09
  • yes all links.. Jul 18 '15 at 21:16
  • you need to remove compare sidebar Jul 19 '15 at 9:12

To remove recent orders in customer dashboard page. Add below code in your local.xml or any layout files.

 <!-- Mage_Sales --> 
     <remove name="customer_account_dashboard_top"/>

To remove recent orders from customer account dashboard page,

 <!-- Mage_Sales --> 
     <remove name="customer_account_dashboard_top"/>

To remove links from customer account page,

Add the below code in template/customer/account/navigation.phtml ,

                unset($_links['tags']); /* My Tags */
                unset($_links['OAuth Customer Tokens']); /* My Applications */
                unset($_links['reviews']);  /* Reviews */
                unset($_links['wishlist']); /* Wishlist */
                unset($_links['newsletter']); /* Newsletter */
                unset($_links['orders']); /* My Orders */
                unset($_links['downloadable_products']); /* My Downloadable Products */
                unset($_links['recurring_profiles']); /* Recurring Profiles */
                unset($_links['billing_agreements']); /* Billing Agreements */

Check this link for reference.

  • Thank you and, I am sorry, I was wrong expression. Customer panel not to delete links. only links are shown. I made a few attempts. example: <remove name="sale.reorder.sidebar"/> <remove name="left.testimonials"/> Jul 19 '15 at 8:34
  • I uptade question please see image Jul 19 '15 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.