Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [toplinks]

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

0
votes
1answer
16 views

How can i add header links next to language switcher or Left side

I need to add some custom links on header just like below screenshot:- But as i trying to add the same on "header.links" it's adding right side(near CONTACT US link). how can i achieve my expected ...
0
votes
2answers
1k views

How to Get Top Menu in Header as dropdown in Magento 2

Want to show top links as "DROPDOWN" in custom theme. Trying from many days but still no success. Have to show "Sign In/Up" Link in toplinks when customer is not logged in. After Customer Logged In "...
1
vote
2answers
836 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/...
0
votes
2answers
854 views

Magento 2 Custom Top header Link is not Showing

I want to create a custom top link in magento 2 for my custom module, but when i load the home page, the custom top link doesn't show up, here's my view/frontend/layout/default.xml: <?xml version=...
9
votes
2answers
14k views

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
0
votes
1answer
309 views

top link edit Luma magento 2

I'm trying to change the top links "Compare Products My Account Create an Account Sign In". This a child theme. I've attempted to change both the default.xml and layout.xml in my layout directory. ...
1
vote
2answers
2k views

Magento 2 - How to change position of Sign in and My Account link?

How can i move account creation link and sign in link after the search box. Need Help
0
votes
1answer
29 views

How to remove items count from Compare products link in header

I don't want to remove the whole link from frontend theme I just want to remove a part of the link. I don't know where the file that I should edit it any help?
2
votes
4answers
1k 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 ...
3
votes
3answers
2k views

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) ...
2
votes
0answers
42 views

How to add new custom dynamic link in magento2 top header links?

I want to add a custom dynamic link on top gray navigation bar besides welcome message when a specific user with a specific customer group is logged in. the main entry would be dynamic which will ...
3
votes
1answer
611 views

How can I move my cart from my header into the right of my navigation?

I would like to know how to move my cart icon into my navigation instead of the header. How can I do this?
1
vote
1answer
669 views

Magento 2 : Top Navigation External Link

I need to add custom nav link directing to an external site (http://etc) in my top nav. Admin won't let me do this. Running locally on mac web server. V 2.0.13 Luma child theme Thanks
1
vote
2answers
760 views

Moving “My Account” link from the top links in 2.2

having trouble with a layout change in Mage 2.2. I want to move just the link for "My Account" from its current position (located inside <div class="panel header"> <ul class="header links"&...
2
votes
2answers
675 views

Magento 2 : Remove Top Links When Customer Not Logged In

I would like to remove My Account link from top links, when customer is not logged in. How do I achieve it via XML layout files?
3
votes
1answer
3k views

Magento 2: move the top links in the same container as the logo

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 ...
1
vote
1answer
37 views

Remove Register top.link

I know how to do this in a general sense, except for whatever reason, I can't get it to work properly on a second website. My second website is merely a subdomain of my main, so https://second....
0
votes
2answers
2k views

Rename or delete 'My account' top link in header Magento 1.9

By now, I have 'My account' (with its dropdown menu) next to 'Log in' in my home page. I want to only have a 'Log in' button that changes to 'Log out' when user is logged. I've been trying with ...
0
votes
1answer
124 views

How to change the links of header menu in magento 2?

`How to change the links of this this menu Register here links in my account menu any ideas
0
votes
0answers
58 views

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
0
votes
2answers
33 views

How to show other custom attribute instead of name customer in top link magento 2

In my case, i have two type of customer: for local customer i will keep the firstname lastname in top link if it's connected else i want to display a custom attribute that i added in registration form ...
0
votes
0answers
14 views

Magento 2.2.5, get customer account dropdown links

In Magento 2.2.5, I want get and display the customer account navigation links in the custom phtml. How to achieve this.
2
votes
2answers
1k views

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"
2
votes
1answer
154 views

Move sign in to bottom in my top links

I want my top links in the order like: My Account My Wishlist My Orders Sign In But I am getting like: My Account My Wishlist Sign In My Orders Below is my code: <referenceBlock name="top....
1
vote
4answers
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 ...
2
votes
3answers
2k views

Magento 2 : How can i add Icons to the user links such as “My account” Login" Sign in etc

Further in Magento 1, I could just edit the html template file and do anything I could imagine. Now with this complicated with xml thing, extending templates etc. I'm confused. What I' trying to do ...
0
votes
0answers
54 views

How to enable the top links Magento 2?

I would like to put the top links (Login,Log out...) to my menu bar. I would add the top links login option . where I change to code in Magento 2? Thanks.
2
votes
1answer
130 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 ...
0
votes
0answers
174 views

How to get or append some extra query param to url

I have added some links in top. i want get query param from url and append in to every links in top dynamically like my links are = test1, test2, test3 My mail url is = https://apcd.com When ...
4
votes
4answers
40k 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 ...
0
votes
1answer
72 views

Add link to customer-menu

I need to add a custom link to the dropdown menu : <div class="customer-menu" data-target="dropdown"> How can I do this easily (without using jquery), I need to do it the magento way
1
vote
2answers
1k views

Navigation Links for CMS Pages

I've been trying to figure out how to add links to the top navigation for Magento 2. In 1.x we'd just URL rewrites, however, that doesn't seem to work in Magento 2.x at this point. I added a new ...
2
votes
2answers
459 views

How to add custom menu in top nav section in magento 2.2.5

I'm trying to add custom menu in top nav section or place any custom menu removing the existing one. How to customise this section. Please tell me step by step. I'm unable to do this after the ...
3
votes
2answers
370 views

Remove Sign in and Create account links from header Magento 2

I used following code for remove top links Create Account link successfully removed but Sign in link still show so can u please check and let me know what is the correction. <referenceBlock name="...
9
votes
3answers
27k views

Remove Specific Top Links

I need to edit the Magento Top Links in a specific way and only need to show three links in below order Login Register Cart This would result in following Remove only Checkout Link and not Cart ...
3
votes
6answers
2k views

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 ...
0
votes
2answers
5k views

how can I add a link to my navigation menu [duplicate]

I'm wondering the best way to add a custom link to the top navigation menu?
2
votes
2answers
5k views

Add Custom Link to Top Link in magento

I want to add custom link in the 'top link' section(white list, Login, Account). Basically i want to add "Blog" link at the top of the links. When user click on the link then its redirect to the ...
1
vote
2answers
933 views

How can I add dropdown menu

The above image is of top-links. I wanted to add a drop-down for My Account. When the user click or hover on it, My Account should show My account option For example orders.
1
vote
0answers
70 views

Magento 2 : How to remove signout from my account section at header?

While customer logged into account it is showing two sign-out from header Kindly check the below default.xml file from my custom theme. Can you please suggest ? Actually I have used parent theme as ...
1
vote
1answer
185 views

Magento1.9: Absolute vs relative links

so far we've been working with mostly absolute links which is now causing us an issue because we have 2 different domains for the same language, (.at and .de) and both are sharing the same cms pages ...
2
votes
3answers
13k views

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 ...
4
votes
1answer
1k views

Magento 2 : How to check multiple if config in layout?

Here is my code to add toplinks in my custom module <referenceBlock name="header.links"> <block class="Magento\Framework\View\Element\Html\Link" ifconfig="hello/general/enable" name="...
0
votes
0answers
172 views

Header links Block

I am trying to make changes to the header top links on my magento 2.1.8 store. I have created a custom module called Batch Order which should only be accessible to customers from certain groups. The ...
2
votes
2answers
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 ...
0
votes
2answers
2k views

Magento 2.2 how to change header link create an account text to icon

I want to change create an account text to icon. I can find the layout file under var\www\html\vendor\magento\module-customer\view\frontend\layout\default.xml <block class="Magento\Customer\...
0
votes
0answers
350 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 <?...
2
votes
1answer
235 views

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 ...
0
votes
1answer
82 views

How to add header link in magento 2.1

I want to add header links in magento Blank Theme Default.xml <referenceBlock name="top.links"> <block class="Magento\Framework\View\Element\Html\Link" name="new.link" after="register-...
0
votes
1answer
67 views

Change the top links URL in a custom third party theme

I have to change the URL for "Placanje" link so it points to (http://localhost/darnik/customer/account/create/) instead of the current one. Please see the attachment with the template and block hints. ...