Add/Remove Links Account Navigation

Method to remove links on my account navigation.

Posted on March 21, 2016 in Magento

I am trying to remove links on my account navigation. I looked at the customer/account/navigation.phtml template. The easiest way to add or remove links on account navigation with following steps:

First, copy




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

<?php $_index =1; ?>

Right below it add this:

<?php $_count = count($_links);
unset($_links['tags']);  /* My Tags */
unset($_links['invitations']); /* My Invitations */
unset($_links['enterprice_customerbalance']); /*Store credit*/
unset($_links['OAuth Customer Tokens']) ; /* My applcations */
unset($_links['enterprice_reward']) ; /* Reward Points */
unset($_links['giftregsitry']); /* Gift Registry */

comments powered by Disqus