Categories: How ToMagento 2

How to Add Top Links in Magento 2

Top links section in Magento is the default block generally used to create a personal area like My Account, My Wishlist, Log in etc. Sometimes you really want to utilize this area to redirect customers to a CMS page which can include some informative details, terms of use or list of products that can help encouraging customers to purchase. This leads you to the use of clickable links in top menu.

Adding clickable links in top links may be a hassle for you but we magicians have deep dived to nail the solution. Here you will find a complete guide to place any links on top links in Magento 2. I have included My Cart, Checkout and My Account for example, you can add more as per your needs.

First of all, go to your custom theme app/desing/frontend/{Vendor}/{theme}/Magento_Theme/layout/default.xml file.

My Cartcheckout/cartCheckoutcheckoutMy Accountcustomer/account/login/

I would love your comments for any help or suggestions.

Click to rate this post!
[Total: 1 Average: 4]
Dhiren Vasoya

Dhiren Vasoya is a Director and Co-founder at MageComp, Passionate 🎖️ Certified Magento Developer👨‍💻. He has more than 9 years of experience in Magento Development and completed 850+ projects to solve the most important E-commerce challenges. He is fond❤️ of coding and if he is not busy developing then you can find him at the cricket ground, hitting boundaries.🏏

View Comments

Recent Posts

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

11 hours ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

3 days ago

How Upcoming Cookie Changes Will Affect Your E-commerce Website?

The e-commerce world is constantly in flux. New tech and strategies emerge daily to help…

3 days ago

Magento 2: How to Add Header and Footer in Checkout

Hello Magento Friends, In today’s blog, we will discuss adding a header and footer to…

3 days ago

Understanding Flexbox Layout in React Native

Hello React Native Friends, Building a visually appealing and responsive mobile app is crucial in…

6 days ago

HYVÄ Themes Releases: 1.3.6 & 1.3.7 – What’s New

We have brought exciting news for Magento store owners. Hyvä Themes recently released 1.3.6 and…

6 days ago