Magento – How to add/remove links on my account navigation?

Posted: October 1, 2014 in Magento

app/design/frontend/base/default/template/customer/account/navigation.phtml


you can add after this code
<?php $_links = $this->getLinks(); ?>
 <?php $_index = 1; ?>

----------------------------------------------------------------add this line --------------------------------
<?php $_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 */
        ?> 

Before foreach loop............
Advertisements

Comments are closed.