Skip to main content

Questions tagged [toplinks]

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

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
276 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 ...
MSQ's user avatar
  • 211
3 votes
3 answers
3k 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 "...
Vinay's user avatar
  • 443
3 votes
3 answers
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?
giani.sim's user avatar
  • 1,473
3 votes
1 answer
721 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?
Oli Tuck's user avatar
  • 305
2 votes
0 answers
70 views

How can I add a link in the header and this link should redirect to an external page

I need to add a link in the header and this link should redirect to another page. please suggest easy way to do this. Thank you
TULASI GAYATRI MADETI's user avatar
2 votes
0 answers
289 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. ...
Angie R.'s user avatar
2 votes
1 answer
50 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 ...
NoviceClueless's user avatar
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
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,083
1 vote
1 answer
59 views

Header Links showing beyond search box and minicart beyond navigation !! Magento 2.3.5-p1

When a customer is signed in the header links (My account, My Wish List, SIgn Out) are displayed beyond the search box . See the image attached . I've noticed that there is an element.style {z-index:...
Andrea's user avatar
  • 11
1 vote
1 answer
1k views

Magento 2 : How to move register-link next to minicart?

I want to move the Create An Account button, near the mini cart in the header section.
Jaisa's user avatar
  • 2,626
1 vote
1 answer
2k views

Not able to move "Porto" theme top links under header content (After search) in Magento 2.3.2

I am using Porto theme (header Type 1) with Magento 2.3.2 setup. I want to move Top Links section elements i.e : Sign in, Currency etc under the header content after the mini search bar. Here is the ...
Akshay Prabhakar's user avatar
1 vote
1 answer
106 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....
taskle's user avatar
  • 365
1 vote
1 answer
281 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 ...
Nagaraju Kasa's user avatar
1 vote
2 answers
3k 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"&...
Sam's user avatar
  • 11
1 vote
1 answer
1k 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
guest's user avatar
  • 131
1 vote
0 answers
182 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 ...
Ahdee's user avatar
  • 255
1 vote
2 answers
615 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
roger's user avatar
  • 551
0 votes
1 answer
132 views

Navigation links disappear after upgrade to Magento CE 2.4.5

I'm somewhat of a Magento noob and inherited this site. I upgraded to 2.4.5 from 2.4.0 and basically, the top links and footer links disappeared. For example, this block is no longer displaying: <...
user112097's user avatar
0 votes
2 answers
781 views

Magento2 - Changing the position of header content

I want to make the Free Shipping content at the top center of the site but it is in right corner. How to change the css for doing it? Created a block on the admin panel and applied this code on ...
kks's user avatar
  • 19
0 votes
0 answers
146 views

Customer Name Not Showing In Header section Magento 2

In my module, I did forcefully logged in to the customer without a password. And After logged in customers redirect to the Homepage only. And everything works as expected, except customer name not ...
Nilava Chakraborty's user avatar
0 votes
1 answer
673 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?
nashwa ghazy's user avatar
0 votes
0 answers
305 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
Rv Singh's user avatar
  • 1,627
0 votes
0 answers
568 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 ...
Pawankumar's user avatar
0 votes
0 answers
224 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 ...
dev's user avatar
  • 63
0 votes
1 answer
112 views

problem to get toplinks and minicart

when I am calling echo $this->getChildHtml('topLinks') and echo $this->getChildHtml('cart_minicart') in header.phtml file than it outputs like <!-- fpc ...
Nirav Joshi's user avatar
0 votes
1 answer
801 views

Customize magento 2 theme

I installed magento 2 and successfully implemented custom theme. I used magento blank as my theme's parent theme. I'm new to magento, so this may seem like a stupid question, but please help me ...
Vishwa's user avatar
  • 165
0 votes
1 answer
442 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. ...
user52301's user avatar
0 votes
2 answers
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=...
simple guy's user avatar
  • 2,484
0 votes
1 answer
296 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 ...
bhargav shastri's user avatar
0 votes
0 answers
160 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?
MikeMason's user avatar
  • 1,357
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
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
0 answers
366 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
0 votes
1 answer
31 views

How to implement custom links for a category?

When a category is loaded, it uses links that lead to the category. How to add a field for the link in the category and if the field is filled in, as a result, the link by clicking on the category ...
Alice's user avatar
  • 148