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
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=...
2
votes
1answer
33 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
1k 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
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.
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
248 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
3k 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....
1
vote
1answer
696 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
950 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
734 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
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 ...
1
vote
1answer
51 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
132 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 ...
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
3answers
5k 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
77 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 ...
0
votes
2answers
10k 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
470 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 ...
3
votes
5answers
17k 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
464 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
92 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 ...
5
votes
3answers
14k 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
1k 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
266 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
101 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
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
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
154 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
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?
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
170 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
62 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 ...
1
vote
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
727 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 ,
0
votes
1answer
96 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 ...
1
vote
2answers
4k 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"> <...
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 ...
1
vote
1answer
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 ...
0
votes
2answers
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 ...
1
vote
2answers
27 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 ...
1
vote
1answer
82 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....
0
votes
3answers
489 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\...
1
vote
1answer
119 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>...
1
vote
1answer
138 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 ...
0
votes
1answer
70 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 ...