Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [toplinks]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
2 votes
2 answers
1k views

How do I change text on top links

I am designing a theme in Magento 2 using blank theme as parent theme. I would like to change text on some of the the top links like this: From "Compare Products 1 items" into "Compare (1)" From "My ...
Gordova's user avatar
  • 461
2 votes
1 answer
2k views

how to get link My Cart and Check out in top.links in magento2?

i want get link My cart and check out to top.links. any help? and i tried get language in top.links <block class="Magento\Store\Block\Switcher" name="store_language" as="store_language" template=...
xanka's user avatar
  • 2,114
1 vote
3 answers
804 views

How to replace "My Account" with the customer name

After Login i want to replace the "My Account"(Dropdown with links) With "Hi,FirstName" post login ? How do i do that , I am not talking about welcome message ,
Vishwas Bhatnagar's user avatar
0 votes
1 answer
99 views

Adding Facebook button to top links Magento

I just haven't been able to get this after reading many examples. I'm trying to add a facebook login button to the top links. I can get thew block to show up all over the place but not in the top ...
Freejoy's user avatar
  • 819
2 votes
2 answers
5k views

Magento 2 - Top link position

I was working with the layout xml for the top links. My code is in my custom module default.xml: <?xml version="1.0"?> <body> <referenceBlock name="header.links"> <...
Soumik Tuban's user avatar
2 votes
1 answer
147 views

Magento Top Links Login class disappears randomly!

So I have slightly modified the customer.xml file to add classes to the top links, so I could add font awesome icons to them. The issue I am having is for some reason the login class disappears if I ...
blackwat3r's user avatar
1 vote
1 answer
7k views

Magento 2: Issue while add custom top links in header

I am trying to add custom top link via custom module. File /app/code/<VendorName>/Inquiry/view/frontend/layout/default.xml If I used <referenceBlock name="header.links"> then its working ...
Praful Rajput's user avatar
0 votes
2 answers
2k views

remove My account and Logout links from some phtml pages

i have to remove "My account" & "Log out" links from some phtml pages. for removing my account, i am using following code : <marketplace_marketplaceaccount_myproductslist> <reference ...
Baby in Magento's user avatar
1 vote
2 answers
31 views

top mycart link layout

I'm using magento 1.9 with a custom theme, I didn't build it, I inherited it and its a bit of a mess, but at least functional. My question is There is no space between 'my cart and 'checkout' What ...
Daniel Tyas's user avatar
1 vote
1 answer
91 views

how to remove top links from some .phtml pages

visit the link : http://2.kidsdial.com/ on top right you can see : "My account, My wishlist...etc" I want to hide these links from some .phtml pages. for example from this page : http://2.kidsdial....
Baby in Magento's user avatar
0 votes
3 answers
569 views

Extend Mage_Sales_Helper_Data doesn't work

I would like to add a function in Mage_Sales_Helper_Data without editing or copy of the original file. So I try to extend it, but this code doesn't work I have created a config.xml in this folder app\...
laura's user avatar
  • 109
1 vote
1 answer
132 views

aParams does not show class in anchor

I want to add a top link and I do this by the following in local.xml: <reference name="top.links"> <action method="addLink" translate="label title"> <label>...
Nickool's user avatar
  • 1,069
1 vote
1 answer
216 views

Move top links to left column with CSS only

Is it possible to move the top links in user menu from the right hand column, to the left column purely with CSS? My theme has it by default in the right column, but the design needs it to be in the ...
MagentoMac's user avatar
  • 1,042
0 votes
1 answer
77 views

aligning icons in top_links.phtml

I have a problem with aligning the content of my top_links.phtml Using the Ultimo theme, I have added flags to the store switcher using the following code: <?php /** * Language switcher template ...
egg's user avatar
  • 499
0 votes
1 answer
1k views

Change Header TEXT Links for IMAGE LINKS (for 'My Account', 'My Wishlist', 'My Cart', 'Log In', Log Out')

I am using Magento 1.8.1, and I couldn't find any solution to replace the text links 'My Account', 'My Wishlist', 'My Cart', 'Log In', Log Out' for icons/image links for my Mobile responsive version. ...
Joel's user avatar
  • 33
0 votes
3 answers
348 views

Remove top link by title not by url in xml

I've got 2 top links with the same url. I need to remove one of them on a specific handle. Removing by url will exclude both of them. Is there a xml solution to this? Like removing by title. ...
Claudiu Creanga's user avatar
2 votes
2 answers
807 views

How to change the url of checkout in toplink

I need to change the url that the checkout link in top links is pointing to. At the moment it point to /checkout but i need it to point to /checkout/onepage. normally the redirect it automatic but i ...
Adam Allen's user avatar
  • 2,205
2 votes
2 answers
1k views

How to hide top links from customer groups

Is it possible to hide certain top links depending on the customer group? As we have anew feature which we have added a link to in the top link but it is only available to certain customers. We have ...
Adam Allen's user avatar
  • 2,205
1 vote
0 answers
89 views

top links css not showing in Magento [closed]

I am using magento 1.8.0. I have added new toplink in header. I have added following code in customer.xml file of my theme : <default> <reference name="top.links"> <action ...
NiharikA's user avatar
1 vote
1 answer
289 views

How can I change the persistence message that shows when a customer logs out?

I am trying to change the persistence message that shows in the header when a customer logs out. (Not Mr Foo?) I've tried changing it via translation file: "Not %s?","Log In / Register" I've also ...
user1704524's user avatar
  • 2,483
1 vote
1 answer
166 views

Turn Magento Footer Links into togglable List for Mobile Devices [closed]

Lets assume this is my footer link markup: <div class="links"> <div id="links1-title">Links 1</div> <ul id="links1-content"> <li>xyz</li> <li>xyz&...
loeffel's user avatar
  • 722
0 votes
1 answer
594 views

Changing the link location in top links

I want to change my checkout link in the top links on my magento site to go to the basket instead of the checkout process. I have found ways of just removing the links via XML files but no document ...
Adam Allen's user avatar
  • 2,205
0 votes
1 answer
908 views

top links from footer to header, not function

hi i have a magento withe the theme trego, by default this theme have the toplinks in footer , but i want also in header, after copy and paste the line <?php echo $this->getChildHtml(‘topLinks’...
themich's user avatar
  • 35
1 vote
1 answer
984 views

how to add newsletter link page to toplink

I want to add newsletter link to my top link block like first link. I think that it can works adding some string in layout.xml files. I've tried to add this code into customer.xml but the newsletter ...
zoso's user avatar
  • 11
1 vote
1 answer
266 views

TopLinks Do not show up

the TopLinks navigation does not show up at all in my template. in page.xml I have <block type="page/template_links" name="top.links" as="topLinks"/> in block <block type="page/...
user980018's user avatar
0 votes
0 answers
365 views

Copy the toplink from the footer to the header Magento

I have a template with the toplinks (My Account, My Wishlist, My Cart, Checkout, Log In ) in footer by default but I want also compare in header. The theme is "trego" (please view) I pasted <?...
themich's user avatar
  • 35
2 votes
0 answers
1k views

Category Menu Navigation in top.links

I have searched high and low for an answer on this but have not been able to come up with the solution I am looking for. I am hoping maybe someone here can point me in the right direction. I have a ...
Ron's user avatar
  • 21
1 vote
1 answer
211 views

Adding a top link

I am wanting to add a link at the top beside the My Account link. As I had said in a previous post, I took this site over from another developer and not sure what if any customization he had done, so ...
Tommy's user avatar
  • 155
1 vote
1 answer
107 views

Add links to top links navigation

I'm studying to get FE certification and I'm trying to add a link to top.links block adding this code to local.xml: <action method="addLink" block="top.links"> <label>shop</...
apedic's user avatar
  • 923
0 votes
1 answer
741 views

How to move search box in-line with top links

Hoping you can help me with an item. Attached are two screenshots. Number 1 My current header Number 2 - My desired header I am still on a Magento 1.3.1 set up. (I know). Does anyone have a fix?
NKJWebteam's user avatar
0 votes
2 answers
2k views

How do add a class to the Wishlist Link in the Top Menu?

I want to add a class to the wishlist link in the top menu. In my app/design/frontend/default/abcd/layout/wishlist.xml, I have a reference: <reference name="top.links"> <block type="...
d4nyll's user avatar
  • 131
0 votes
2 answers
2k views

how to update top.links and other magento blocks without refresh page

how can we update value of mycart on top.links with out refresh magento page on add to cart event <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js" ></...
Vaibhav Ahalpara's user avatar
2 votes
2 answers
1k views

Remove category(Top menu) for specific customer or customer group

I m using magento 1.9.0.1 to remove cateogroy from frontend top menu for specific category for specific customer or customer group. I m using below code for testing but it not work /frontend/default/...
Zahirabbas's user avatar
  • 2,073
0 votes
1 answer
2k views

Get topLinks on page

I want to load the topLinks on a page and use this code: echo $this->getChildHtml('topLinks'); But this does not work. How can I load the topLinks? Thanks
JGeer's user avatar
  • 1,418
0 votes
1 answer
577 views

remove a top link from an handler

I need to remove this link only from a custom handle. The handle is working, but I cannot find the right syntax to remove the link, maybe removeLinkByUrl or byName. <reference name="top.links">&...
apedic's user avatar
  • 923
1 vote
4 answers
4k views

Add A Custom CSS Class To Main Menu Link

Is their a way to add a custom class to one link within the main navigation? For example I would like the category "SALE" to be coloured red and be bold. Is this possible? Many Thanks
Davva M's user avatar
  • 31
1 vote
4 answers
2k views

Magento seo question. Nofollow on top links like cart/login?

Magento seo question. Nofollow on top links like cart/login? While reading up on seo I thought to add no follows to default links that exist on every page. Cart. Login. Checkout. TC. Faq. When ...
snh_nl's user avatar
  • 5,452
0 votes
1 answer
2k views

how to add icon instead of text in magento top links My Account My Wishlist My Cart Checkout Log In

i'm working with Magento ver. 1.9.0.1 and magento boilerplate theme. i want to change the top link text with icons.but unable to find the file. Here is the code inside my app/code/core/Mage/Checkout/...
Manindra Singh's user avatar
1 vote
1 answer
710 views

Add CMS page links into Nav menu using local.xml

I have been trying to add cms page links into the Main navigation using the local.xml file. I tried the following, however this references the top links instead of the main nav. <reference name="...
GlynnJohnson's user avatar
0 votes
1 answer
355 views

Is there a way of adding a link to a Product Page to Top Navigation?

I'm very new to Magento, so this might be VERY basic... I've read about adding links to CMS pages in the Navigation Bar http://www.magentocommerce.com/knowledge-base/entry/adding-page-links-in-the-...
Phil Stewart's user avatar
2 votes
1 answer
332 views

Is there any way of changing 'View All Products' in Top Navigation?

I'm very new to Magento, so this might be VERY basic... Using the demo data provided by Magento, the Top Navigation bar includes "Men", "Accessories", "Home & Decor" etc. Each heading has ...
Phil Stewart's user avatar
1 vote
1 answer
802 views

aligning magento top links left and right

I have added additional static links in magento top link beside checkout login etc. Default welcome, my account etc links are left aligned, and i want my additional links to be right aligned. I am ...
echoashu's user avatar
  • 406
1 vote
0 answers
137 views

Including top links(login/logout sign up under Account as dropdown select values) [closed]

subject :—- Including top links(login/logout sign up under Account as dropdown select values) I want to add login signup and login/out options inside account i.e account as dropdown menu where login ,...
Pradeep Kumar N M's user avatar
1 vote
1 answer
2k views

how to link to category page from phtml?

I have a category page called "team", which is nested in my menu structure. How can I link to that page and url, from within a phtml page elsewhere? I am of course wanting it to be dynamic. For ...
egg's user avatar
  • 499
1 vote
1 answer
682 views

How to add dynamic link to top-links?

For my custom module i need to add one top-menu to homepage. Path may change according to the value given in configuration section. How can i add dynamic link to the top-menu item.Please help
Anu's user avatar
  • 420
0 votes
3 answers
3k views

How to get current user's name in layout xml file?

I want to add a top.links that shows user's name instead of "My Account". In the old way, I've done by: Remove the line which add My Account link in customer.xml (usually in default handler) In page/...
Tran Dinh Khanh's user avatar
4 votes
4 answers
4k views

Finding out layout handles being evaluated for a page

I am working on a project where I want to display few links on left side of top bar at Home page, as shown below. To do this i created a new block with name left.top.links very similar to Magento's ...
Lalit's user avatar
  • 319
1 vote
1 answer
263 views

Conditionally hiding and showing block and links

I am working on an application for which i have two types of user in Magento system. Each user can login and reach to their Dashboard. On the user Dashboard depending on what kind of user is logged in,...
Lalit's user avatar
  • 319
4 votes
4 answers
10k views

Add target to new link on toplinks

I add new link to top links using <block type="page/template_links" name="top.links" as="topLinks"> <action method="addLink" translate="label title"> <label>Blog<...
Tran Dinh Khanh's user avatar
4 votes
4 answers
42k views

Add new links to top links in Magento 1.9

It's pretty easy to add some types of links to top menu using this method: http://www.magentocommerce.com/knowledge-base/entry/adding-page-links-in-the-navigation-bar But I cannot figure out how to ...
Andrew's user avatar
  • 43