Questions tagged [toplinks]

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

Filter by
Sorted by
Tagged with
23 votes
4 answers

Best Practices Way to Edit Magento Top-Links

Let's say we want to add a shopping cart icon right before the "My Cart" link on Magento's top links (see top links below). What is the best way to do this? Do something to toplinks.php? Do ...
Raphael Rafatpanah's user avatar
15 votes
4 answers

How to add or remove header.links in magento2?

I am searching header.links block to remove one link and add some links but I am not getting where to make changes. Suggest me some solution
coder's user avatar
  • 639
4 votes
5 answers

Magento 2 - add link with content to top menu

I am wondering how to add programmatically a new link (to main top menu in header) with submenu (custom content visible on hover - styles is not a problem). How to achieve that, via xml or via (php) ...
Rob's user avatar
  • 419
5 votes
5 answers

Reorder Top Links

I have been stuck on this task all day. I am hoping someone has some insight or is this a bug? I have tried a few different approaches and nothing seems to actually work. This is how it currently ...
RLTcode's user avatar
  • 863
5 votes
5 answers

how to show my account link in header after successfully login in magento 2.0

how to show my account link in header after successfully login in magento
vnnogile_user's user avatar
2 votes
1 answer

How to override top.links in magento 2

I am trying to override sign in and register link in magento 2. can any one please help me on this.
rajat kara's user avatar
  • 1,209
3 votes
4 answers

how to remove text "items" from top links wishlist magento 2

I want to display just wishlist count like wishlist (2) in top bar, how can I remove the word "items" or "item"
Waqar's user avatar
  • 974
3 votes
6 answers

Removing wishlist link - top header magento 2

I've seen this question asked time and time again, and i know this will sound like a duplicate. But every answer everyone else has doesn't work for me. I'm using: <page xmlns:xsi="http://www.w3....
andy jones's user avatar
  • 1,383
2 votes
2 answers

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
2 votes
3 answers

How to add language switcher to top links?

I'm looking for a way to add the language switcher to my top links menu. My store has 2 languages and I've modified the languages.phtml file to show the alternate language. Example: if you are on the ...
SR_Magento's user avatar
  • 5,209
2 votes
1 answer

Change the default Magento 2 toplinks

I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank. My top links (above the logo) are: Compare Products Default welcome msg! My Account My Wish ...
Razvan Zamfir's user avatar
2 votes
2 answers

Editing header links in Magento 2

I'm on Magento 2.1, the header links are rendered with this structure: <ul class="header links"> <li>...</li> <li>...</li> ... </ul> I need to remove the ...
Fred K's user avatar
  • 270
1 vote
1 answer

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
1 vote
2 answers

Product url's ends with html.html

I have migrated all my products from Magento 1.9 to 2.0. All the products url's are ending with .html like html.html sample link: http://www/
roger's user avatar
  • 541
0 votes
3 answers

Adding CSS & Target attribute to custom top links in default.xml Magento 2

I've searched all over google and I found a few tutorials that seems straight forward but I can't get it to work in my default.xml. Majority of the tutorials uses local.xml but I'm not sure where to ...
Amy Ling's user avatar
  • 390
0 votes
3 answers

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
0 votes
0 answers

Magento2 top header section change layout

Currently in my site display this I need search section move to top as look wise below If anyone idea reply me how to search section move in magento2
Rv Singh's user avatar
  • 1,617
0 votes
1 answer

How to show My Account link in frontend after succesfully logged in?

How can I show the My Account in header after the welcome message after successfully logged in my website? I have got help in displaying them on customer menu but now I want to show it in header ...
MagentoDev's user avatar