I want to remove some links in customer dashboard but the removeLinkByName doesn't work for me, Where i can find the name of these links ? here is my code:


    <reference name="customer_account_navigation">
          <remove name="sale.reorder.sidebar"></remove>
          <action method="removeLinkByName"><name>downloadable_products</name></action>

The error:

Invalid method Mage_Customer_Block_Account_Navigation::removeLinkByName(Array
    [0] => downloadable_products

I think to rewrite this block and add the removeLinkByName() function

public function removeLinkByName($name)
        return $this;
| improve this answer | |

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.