Created
June 10, 2021 06:54
-
-
Save ErMandeep/87d7674f2a1b8a8ce6eb1a11eba30ddf to your computer and use it in GitHub Desktop.
How to add custom link in main menu in Magento 2?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.google.com/search?q=how+to+add+custom+link+in+navigation+menu+in+magento2&rlz=1C5CHFA_enIN912IN912&sxsrf=ALeKk02vfjQFF_fgAESf1aOwu46NOatT3A%3A1623299562587&ei=6pXBYN3BI-_Wz7sPw-eykAk&oq=add+custom+link+in+magento+2+in+child+theme&gs_lcp=Cgdnd3Mtd2l6EAMYAjIHCCMQsAMQJzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwAzIHCAAQRxCwA1AAWABgs1VoAXACeACAAewBiAHsAZIBAzItMZgBAKoBB2d3cy13aXrIAQnAAQE&sclient=gws-wiz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
copy file from
vendor/magento/module-theme/view/frontend/templates/html/topmenu.phtml
and put this file in your theme location
app/design/frontend/Vendor/YourTheme/Magento_Theme/templates/html/topmenu.phtml
Add below