Home » Magento

Magento: How to change or reorder top links?

7 December 2009 13,171 views Popularity: 27% Share/Bookmark

email

In the default magento installation, the top links are as follows:

My Account | My Wishlist | My Cart | Checkout | Log In

In order to change or reorder them you have to do some changes in layout files (xml files).

You can do changes for My Account, Log Out, and Log In from customer.xml file. You can change the title and position of these menu from there.

You can change the ordering of My Cart and Checkout from checkout.xml

See for the following code in checkout.xml

<action method="addCartLink"></action>
<action method="addCheckoutLink"></action>

For My Wishlist, open wishlist.xml and search for the following code:

<action method="addWishlistLink"></action>

Related posts:

  1. Magento: Set/Change page layout, title tag, meta keywords and description
  2. Magento: How to change default page layout?
  3. Magento: How to change Currency symbol by Model Override ?
  4. Magento: How to change order status programmatically?
  5. Magento: How to change Currency symbol ?
  6. Magento: How to change the ‘Default welcome msg!’
  7. Magento: How to change Admin URL Path?
  8. Magento: Payment method not displayed in Multiple Shipping Adresses Checkout
  9. jQuery: Grey out background and preview image as popup
  10. Magento: PayPal Website Payments Standard not displayed
  • http://uneekdesignjewelry.com Muhaammad Atiq

    Sir, i have some changing required in magneto Top Links. I want that i change only the name like in MY CART i write MY Shopping Cart and in place of Log in i write i Sign In.
    any one can help me.
    M Atiq SWE
    ESOLPK
    Islamabad Pakistan

  • http://blog.chapagain.com.np Mukesh

    @Muhaammad Atiq

    I suppose that you are using Magento default design. And, your language store is English. (Case of default magento installation)

    Here, is the procedure:

    - Go to app/design/frontend/default/default/locale/en_US folder.
    - Open translate.csv
    - In the first column, write: My Cart
    - In the second column and in the same row, write: My Shopping Cart
    - That’s all. Now, see at the frontend of your site. You will see My Shopping Cart instead of My Cart. Similarly, you can do so for other titles.

  • clyde

    Hello Mukesh,

    I am currently starting off using the blank template and reconstructing a simple template from there.

    Although the toplinks have seem to be layered out like this:

    * My Account
    * My Cart (6 items)
    * Checkout
    * Log In

    How do i change back to the default version?

  • http://classyllama.com Kevin Kirchner

    Check out this helpful article about editing Magento’s top links.

  • http://www.pitchparty.ie sandeep

    hi
    i want that when i select any top link than its image should be different than other top link. Can anybody help.How it can be achieve to see active top link ??

  • Blackbee

    I have new theme for magento which I have installed sucessfully. Now I want to add a HOME button next to my top navigation. I have been able to add the link but the link goes to the wrong place. It goes to magento/index.php when this happens my front page flash is not enabled. Only when I go to the main page magento/ do I access the main page flash. I notice that this also happens once in an item and the home button option appears under product navigation, the link is also index.php.

    Can someone tell me where and how to change this.

  • http://www.accessoriescafe.com/ JackLee

    nice useful post, and how to add rel=”nofollow” in Top links? thanks!

  • venkatesan.R

    Hi,

    I have studied the above comments which will be very helpful for me.My question is could explain the steps when a user is clicked the My account, Which file is called and how the action method is invoked,database connectivity,how the values is inserted…

    Please help me to understand for the past few days I have try to solve the problem but I could not able to solve it.

    Please help.

    Thanks and Regards,
    Venkatesan.R

  • ali

    Hi everyone,

    Nice post.

    I want to have a different output, how can I get the toplinks and the search input aligned.

    Thanx for your help

  • Ram_kalpakkam

    Great Post Dude really Helped me a lot Keep Rocking

  • sapna singla

    hello,i want to replace home navigation link with an image….help me