Questions tagged [toplinks]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
957 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
1answer
54 views

Top Links editing

Ok, I give up. I've created a child theme based on Luma. At the very top of the page I see these links "Compare Products 0 items My Account Create an Account Sign In" and then a detached word "or". ...
0
votes
1answer
385 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. ...
3
votes
2answers
543 views

magento enterprise session cache issue

I am working on magento enterprise 1.14.2.0 and we installed all patches that required. I am facing issue with cache or session when customer login to his/her account, Customer name display wrong ...
2
votes
0answers
267 views

Changing Login text to Image + creating drop down for My account, Wishlist, Sign out and more.

A similar question was asked for Magento 1.9, trying it for Magento 2.0 broke my site. Looking for a more specific answer. I am using Magento 2.1.5 -- I want to remove the Top links from all pages. ...
1
vote
0answers
168 views

Magento2: How to locate file in destination using the move element.

I'm been looking through my default.xml trying to add links to top.links. In the default.xml file I see this. <move element="top.links" destination="rd.navbar.collapse.items"/> so I know ...
2
votes
2answers
335 views

How to add top link in via custom module

How to Add top link after "My Wishlist". The link should be visible on activating my custom module.I'm using Magento 1.9. I added the following <reference name="top.links"> <action ...
1
vote
2answers
220 views

Adding Top Link via a custom module - Magento 1.9

I have some custom module, on activating this module I want to show a "Custom Module Link" as a top link. Please refer the snapshot below. How can I achieve this? This link should redirect to one of ...
0
votes
1answer
421 views

Magento 1.9 Top Links. Issue with removal of addLink from another layout handle

I have a project where I needed to add a custom link to top.links via XML (This is a product URL). Maybe this is not the correct way to add a product to top.links? The handle customer_logged_out ...
0
votes
1answer
185 views

Edit links in header.phtml block

I need to alter the Blog url in the "The Checkout | Blog | Login/Register" block that is referenced in the theme/template/page/html/header.phtml I have looked everywhere and cannot find it. All I ...
3
votes
3answers
1k 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?
0
votes
2answers
1k 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=...
2
votes
1answer
38 views

Checkout top link resulting in 500 error

I'm in need of some assistance. When I click on the top link "Checkout" on my site, redirected to https://MyURL.com/checkout/ and given a 500 error. When I clink on "Cart" and then "Proceed to ...
1
vote
1answer
2k views

Adding top.links to new header container magento 2

I've added a new reference container inside of: Magento_Theme/layout/default.xml Here is my code for adding the new container: <referenceContainer name="header.container"> <!-- ...
0
votes
0answers
59 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.
4
votes
2answers
1k views

How To Set Font Awesome Icon in Magento Top Links?

How To Set Font Awesome Icon in Magento Top Links? In Magento Customer.xml app\design\frontend\mytheme\default\layout\customer.xml
0
votes
1answer
283 views

how to add a top link in custom module at prefered position

Can anyone let me know how to add custom top link on top menu after create an account link or at any place I want to put before/after. I have tried with after attribute but its not changing position ...
2
votes
6answers
6k views

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

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

Add custom link to top link next to My Account in magento 1.9

this is my config file in etc\module : <?xml version="1.0"?> <config> <modules> <Net_Toplinks> <active>true</active> <codePool>local</codePool> &...
1
vote
1answer
858 views

how can i get a url helper for the contact us (contacts) page of my magento 1.9.2 site?

Hi I have sucessfully added a link to top links in the customer.xml file in my theme. I added this code to <reference name="top.links" /> <action method="addLink" translate="label title"...
2
votes
3answers
5k 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 ...
1
vote
1answer
91 views

how do i block top links from being index magento2 using robot text [duplicate]

Google seems to be indexing Wishlist - Add to Cart, My Account” and “Log In/Log Out” links. is there any ways to have something in robot text to block it? add to cart seem to be appearing on google ...
0
votes
2answers
191 views

Remove entry from top links (after malware)

I had a malware on my page and after that the entry "Our Team" appears on the top linke of my page www.worg.ch. I would like to remove this link again. I was looking for local.xml but I cannot find ...
15
votes
2answers
25k 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
3answers
7k views

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 ...
0
votes
0answers
81 views

How to add link to homepage in top menu? (Magento 2) [duplicate]

How do you add a link to the homepage in the top menu? It must be the first link, after this link must be the links to the categories. Thanks in advance. Extra information: my theme is based on the ...
2
votes
2answers
14k views

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

Where is “or” generated from, as in “Sign In or Create An Account”

Does anyone know where "or" is generated from, as in "Sign In or Create An Account" in the bar at the top of every page? It does not appear to be part of either link, just placed there to separate ...
5
votes
5answers
25k views

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

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/domain.com/condenser-microphone.html.html
1
vote
1answer
2k views

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

Magento 2 how to change Position of My Account Link and Sign In link in header. i want to show position like, Sign In, My Account and My Wishlist. Theme is blank to working for it. Thanks. I would ...
2
votes
1answer
95 views

Find the code which hide the top links

we have top links in our site1 as below store view switcher, My Cart, Checkout, Register, Log In for some reason we removed it and made it like site2 we want to know what code is removing the top ...
7
votes
3answers
22k views

Magento 2 remove My Account and Wishlist link from top links

I have inherited a theme from Magento's blank theme, now I need to remove the My Account and Wishlist links from the top.links block. To remove the links, I am using Magento_Theme module's default.xml ...
1
vote
1answer
2k views

Customer Log In URL

I realized that my login URL is very weird, with a lot of letters and numbers (like an encrypted text). When I go to app/design/frontend/base/default/layout/customer.xml and check the item <...
1
vote
1answer
3k views

How to add Custom Top Links in Magento 2?

Hello Can you help me on how to add custom top links in the header area of Magento 2, Like this:
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
285 views

Editing TopLinks via local.xml - changing LogOut and LogIn based on <customer_logged_in>

I can't seem to get Magento to react to the customer_logged_in or customer_logged_out tags in local.xml The LogOut link does not display unless I remove the customer_logged_in tag then the link ...
1
vote
1answer
133 views

Link to Apple Appstore and Google play store

We use magento 1.8.1CE We have just launched an app in the app store and the google play store. Now i would like to have, that there a link is beeing shown. (on phones with android and IOS only) ...
2
votes
2answers
6k 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
2k views

Moving the position of header top links

I am trying to change the position of top links. I want to move top.menu before top.links. In my page.xml following code is given: <block type="page/html_header" name="header" as="...
0
votes
0answers
158 views

Magento 2: Add product page links to header / dropdown

I only have six products in my store and want to add their product page links to the main header, instead of the category page. Is it possible?
3
votes
1answer
678 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?
0
votes
2answers
1k views

Removing Sign Up from top.link

So my website currently has a "Register" button and a "Sign Up" button. The "Sign Up" button doesn't show up on mobile devices no matter what, so I figure removing it is my best option. I can remove ...
0
votes
1answer
187 views

position attribute in whishlist.xml does not work

I would like to reorder the wishlist in top links through xml file not editing the app\code\core\Mage\Wishlist\Block\Links.php Wondering why below code does not work? <default> <...
0
votes
1answer
68 views

Top links when login or not login

With this parameter in the xml I can add a top link <action method="addLink" translate="label title"> <label>Registrati</label> ...
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
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 ...
2
votes
1answer
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=...
1
vote
3answers
788 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 ,