What is a good way to remove some links from the account dashboard?


  • My Downloadable Products
  • My Applications
  • Billing Agreements
  • Recurring Profiles

I did some Googling and searched the "duplicate" questions here on SE and found some promising solutions but I am not sure if they are compatible with my version of Magento which is ver. I am looking for a solution that won't break the code in any future updates. thanks!


2 Answers 2


Every developer has its own extension for that, because Magento forgot to add a "removeLinks" to the menu.

with the first one you can configure it in backend. With the later one you have a "removeLinks" you can use in your own local.xml


You can solve this the easy way with adapting the according template in your themes template/customer/account/navigation.phtml file by defining the allowed links like this.

<div class="block block-account">
    <div class="block-title">
        <span><?php echo $this->__('My Account'); ?></span>
    <div class="block-content">
            <?php $_links = $this->getLinks(); ?>
            <?php $_index = 1; ?>

            // define the allowed links the customer can see
            $allowedLinks = array(

            <?php $_count = count($_links); ?>
            <?php foreach ($_links as $_link): ?>

                // check if the link name is one of the allowed links
                if(in_array($_link->getName(), $allowedLinks)): 

                    <?php $_last = ($_index++ >= $_count); ?>
                    <?php if ($this->isActive($_link)): ?>
                        <li class="current<?php echo ($_last ? ' last' : '') ?>"><strong><?php echo $_link->getLabel() ?></strong></li>
                    <?php else: ?>
                        <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
                    <?php endif; ?>
                <?php endif; ?>
            <?php endforeach; ?>
            <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo $this->__('Logout') ?></a></li>

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