im just developing a new site, and havent used Magento for a while.

I have downloaded Magento and have been playing around with CSS based on the blank theme, in my own theme folders.

Now is the time i would like to delete and modified some of the top links by the search box, and i have been into customer.xml and tried to modified the addlinks and even delete them entirely! but to no avail, nothing changed what-so-ever.

Am i missing something?

What is the correct way to modify the links at the top near the search bar?


  • 1
    If you would like help troubleshooting something, then you need to tell us exactly what you tried, not tell us that what you did failed to result in anything. If nothing you tried did anything though, it begs the question: have you cleared and/or disabled Magento's caches?
    – davidalger
    Commented Aug 29, 2013 at 2:06
  • Thanks for your comment, it indirectly solved the problem! i stupidly forgot to flush the cache! But one more question, where can i find where the my cart and checkout links are? to also remove them from the top links? what file?
    – Tom Burman
    Commented Aug 29, 2013 at 6:27
  • /app/design/frontend/base/default/layout/checkout.xml:38 Commented Aug 29, 2013 at 6:37
  • possible duplicate of Best Practices Way to Edit Magento Top-Links Commented Aug 29, 2013 at 6:38

2 Answers 2


To remove url from top links you can do this in local.xml of you theme using following code -

  <reference name="top.links"> 
    <action method="removeLinkByUrl">
      <url helper="checkout/url/getCartUrl" />

You can add custom link by adding following code in local.xml file -

<reference name="top.links">
    <action method="addLink" translate="label title">
        <label>My Link</label>
        <title>My link tooltip</title>

check out this for refernce: http://www.classyllama.com/development/magento-development/editing-magentos-top-links-the-better-way

  • 1
    Which local.xml file is it we should be editing? The location of it isn't detailed in any of the links posted. Unless I'm being blind as a bat....?
    – MagentoMac
    Commented Nov 18, 2013 at 10:39

Ok guys, sorted my issues.

The first problem i forgot to empty my magento cache so the site wasn't updating correctly, to do this go to:

System-Cache Management - click flush magento cache

My second problem of where to find the checkout and my cart top links. In version the links are in the checkout.xml

Thanks for all your help guys

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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