1

How to Change placing order for customer navigation, I need order as showing in below Image:

enter image description here and also how to Rename the text (eg: Instead of my product list I need My Grocery List)

  • Gud question rajiv please try it in local magento and reply me when it works. thanks advance. – Nagaraju K Apr 15 '17 at 13:13
  • remove cache and session after changing the xml file and one important point i.e you have do the changes customer.xml from your current theme. – Nagaraju K Apr 15 '17 at 13:22
6

enter image description herePlease follow the below steps.

I have tried in default magento 1.9.3.1 and got the solution for this.

Path: app/design/frontend/rwd/default/layout/customer.xml

<reference name="left_first">
            <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">

            <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
            <action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>

            <action method="addLink" translate="label" module="sales"><name>xxxx</name><path>xxx/yyyyy/zzzzz/</path><label>My Products List</label></action>

            <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>

            <action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>


            <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>

            <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>


                <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>


            <action method="addLink" translate="label" module="review"><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>

        </block>
    </reference>

Please find the screenshot:

enter image description here

Note: go to respected layout file(.xml) from your module and find for **reference name="customer_account_navigation"** copy the action section and paste one by one in the customer.xml as shown above format. Thanks

  • HI, Thanks for your answer !! I am using 1.9.2.2, I found the customer.xml on mytheme/default/layout/ but I am confused Where I need to place this code link. Here my customer.xml file link – Rajiv Apr 15 '17 at 13:55
  • Please check the reference name "left_first" in your customer.XML and place the above code. – Nagaraju K Apr 15 '17 at 17:28
  • HI, I didn't find any left_first in my customer.XML, even I searched in base, default, and my theme. Only 'left' is available for the customer.XML I already sent my customer.xml file in the previous comment please check that one and please suggest me – Rajiv Apr 15 '17 at 18:38
  • you are most welcome @rajiv..have a nice day and happy coding... – Nagaraju K Apr 17 '17 at 4:08

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.