Magento Expert Forum - Improve your Magento experience
-
How do i edit the “Account” button in Magento?
Hello,
I am running the latest Magento ( 1.9 ) with the Default theme and right now, in the top right region of the header i see the Account and CART buttons.
What i want to do is edit the Account button into something else however I spent the last 2 hours trying to find the place where I can edit it.
Can you please guide me in the right direction ?
View more threads in the same category:
-
-
Administrator
You just need to turn on the magento template hints and then you will know where it is and how to edit http://magentoexpertforum.com/showth...nts-in-magento
Please tell me here if you still don't know how to do.
-
-
Thanks to share information that will be helpful....
-
-
Junior Member
Just Follow these :
navigate to your theme's app layout directory, for example;- root/app/design/frontend/base/default/layout
The top links are declared as a position in the template in the xml and can be added to by the different extensions. The account link is defined in customer.xml. If you search that file for "top.links" you will find it;
<!-- 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>
After modification , you will need to flush your cache for the changes to take effect.
if you have any query feel free to ask me
Regards
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks