All things Shopify and commerce
I want to change my header menus on every different pages how to achieve this functionality
Solved! Go to the solution
This is an accepted solution.
You can Create metafield for every page into settings >> custom data >> pages >> add defination
create a metafiled with type text and entet the corrosponding menu name that u want to show on page for every page
go to Online Store >> Theme >> Edit Code >> header-mega-menu.liquid
update code to read metafiled for dynamic menus and save make sure create menu for every page and enter menu name metafield
Hey you need to assign Header menu for different pages.
Can you please share store url so that I check which code will work regarding your theme.
Thanks
This is an accepted solution.
You can Create metafield for every page into settings >> custom data >> pages >> add defination
create a metafiled with type text and entet the corrosponding menu name that u want to show on page for every page
go to Online Store >> Theme >> Edit Code >> header-mega-menu.liquid
update code to read metafiled for dynamic menus and save make sure create menu for every page and enter menu name metafield
Thanks got it now it's resolved
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025