Remove links from myaccount in magento

magentoThe easiest way to remove any link from the My Account panel in Magento is to first copy:




Open the file and fine this line, it should be around line 34:

Right below it add this:

        $_count = count($_links); /* Add or Remove Account Left Navigation Links Here -*/
        unset($_links['tags']); /* My Tags */
        unset($_links['invitations']); /* My Invitations */
        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 */        

Just remove any of the links here that you DO want to appear.

Like to share it
Tags: magento,

1 Comment. Leave new

Leave a Reply

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