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
0answers
150 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
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?
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?
2
votes
3answers
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 "...
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. ...
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 ...
2
votes
0answers
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 ...
2
votes
2answers
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/...
1
vote
1answer
13 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:...
1
vote
1answer
352 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.
1
vote
1answer
911 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 ...
1
vote
1answer
75 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....
1
vote
0answers
138 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
2answers
2k 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"&...
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
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 ...
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
0
votes
2answers
31 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 ...
0
votes
0answers
17 views

In Navigation top menu sort default and custom added links

Kindly read it out carefully because for me it is somehow confusing. 1- I have default links in navigation like (What's New, Women, Collection). I have sorted them by adding category attributes (sort ...
0
votes
0answers
87 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 ...
0
votes
1answer
452 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?
0
votes
1answer
1k 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
177 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
0answers
333 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 ...
0
votes
0answers
217 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 ...
0
votes
1answer
103 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 ...
0
votes
1answer
723 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 ...
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. ...
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=...
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.
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 ...
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?
0
votes
1answer
98 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 ...
0
votes
1answer
74 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 ...
0
votes
0answers
357 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 <?...