Almost each Magento store has header links like: My Account, My Whishlist, My Cart, Checkout, Log In. Each header link is located in separate XML file.
Open the Magento installation directory on your server then go to "app/design/frontend/default/theme###/layout" folder. Most of the required files are located here.
In case you are missing any files in the "app/design/frontend/default/theme###/layout" folder you can edit them in the "app/design/frontend/base/default/layout" folder
Open customer.xml file. There locate the following code:
<
default
>
<!-- Mage_Customer -->
<
reference
name
=
"top.links"
>
<
action
method
=
"addLink"
translate
=
"label title"
module
=
"customer"
><
label
>My Account</
label
><
url
helper
=
"customer/getAccountUrl"
/><
title
>My Account</
title
><
prepare
/><
urlParams
/><
position
>10</
position
></
action
>
</
reference
>
</
default
>
In order to change the menu button name change the <label> value (<label>My Account</label>)
To change the link URL edit the url helper value: <url helper="customer/getAccountUrl"/>
In the same customer.xml file you can edit the Log In and Log Out links
Log In
<
reference
name
=
"top.links"
>
<
action
method
=
"addLink"
translate
=
"label title"
module
=
"customer"
><
label
>Log In</
label
><
url
helper
=
"customer/getLoginUrl"
/><
title
>Log In</
title
><
prepare
/><
urlParams
/><
position
>100</
position
></
action
>
</
reference
>
Log Out
<
reference
name
=
"top.links"
>
<
action
method
=
"addLink"
translate
=
"label title"
module
=
"customer"
><
label
>Log Out</
label
><
url
helper
=
"customer/getLogoutUrl"
/><
title
>Log Out</
title
><
prepare
/><
urlParams
/><
position
>100</
position
></
action
>
</
reference
>
My Whishlist
<
reference
name
=
"top.links"
>
<
block
type
=
"wishlist/links"
name
=
"wishlist_link"
/>
<
action
method
=
"addLinkBlock"
><
blockName
>wishlist_link</
blockName
></
action
>
</
reference
>
My Cart and Checkout
My Cart and Checkout links can not be modified in the XML files. You can only remove them from the header menu.
The code for these links is located in the checkout.xml file:
<
reference
name
=
"top.links"
>
<
block
type
=
"checkout/links"
name
=
"checkout_cart_link"
>
<
action
method
=
"addCartLink"
></
action
>
<
action
method
=
"addCheckoutLink"
></
action
>
</
block
>
</
reference
>
same for sidebar
<reference name="left">
<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="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="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
</block>
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
</block>
</reference>
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<remove name="tags_popular"/>
And Same for checkout Links Update in checkout.xml file
EmoticonEmoticon