Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

[SOLVED] reorder items in top.links
 
jsch
Jr. Member
 
Total Posts:  25
Joined:  2011-08-28
 

Hi,

The default order of the links in top.links is:

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

I would like to change the order to:

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

So far I have got the following:

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

For My account and Log in links - I have changed the

<position></position>
in customer.xml

I have tried to add the

<position />
in wishlist.xml, but does not seem to do anything.

I can’t figure out how to do this. How do I move/position the My Wishlist link?

 
Magento Community Magento Community
Magento Community
Magento Community
 
jsch
Jr. Member
 
Total Posts:  25
Joined:  2011-08-28
 

Fixed the postion issue with wishlist link in top.link by editing the default section in wishlist.xml
Found the answer in: http://www.magentocommerce.com/boards/viewthread/229546/#t324534

<!-- commented out
<reference name="top.links">
    <
block type="wishlist/links" name="wishlist_link"/>
    <
action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
</
reference>
-->
<!-- 
replacing the above with this -->
<
reference name="top.links">
      <
action method="addLink" translate="label title" module="wishlist">
        <
label>My Wishlist</label>
        <
path>wishlist</path>
        <
title>My Wishlist</title>
        <
prepare>1</prepare>
        <
urlParams/>
        <
position>85</position>
        <
li/>
        <
a>class="top-link-wishlist"</a>
      </
action>
</
reference>
 
Magento Community Magento Community
Magento Community
Magento Community
 
skatiq
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2013-05-27
 

Hello everyone,

The styler order with theme of the links in top.links is:

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

I would like to change the order to:

My Account I My Wishlist I Checkout I My Cart I Log In

I had made changes in <position> tag in frontend/default/styler/layout/checkout.xml
frontend/default/styler/layout/customer.xml
frontend/default/styler/layout/wishlist.xml
but nothing works.:( :( :(

I even made changes in position of apps/code/core/Mage/Wishlist/Block/links.php and apps/code/core/Mage/Checkout/Block/links.php
but still I am unable to get required changes. :( :( :(

Please please please HELP !!!

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top