Re: Get the main menu through linklist object

Solved

Get the main menu through linklist object

Velkamhell
Shopify Partner
16 2 0

I am creating a new drawer outside the header section (next to the cart drawer) I am trying to retrieve the links related to the main navigation inside this drawer. I am using the `linklist` object. Inside the header there is an input setting where you can choose the menu and it will be displayed. But when I try to get this menu from `linklist.main-menu.links` the `linklist` object is empty. How can I retrieve this menu list without an input setting? or do you know if I am missing something? Thanks a lot for any help

Accepted Solution (1)

Velkamhell
Shopify Partner
16 2 0

This is an accepted solution.

Sorry i was typing linklist instead linklists, thanks a lot. My fault, thanks anyway.

View solution in original post

Replies 2 (2)

AK_Design_Dev
Shopify Partner
187 16 16

Hello @Velkamhell 

can you share store url

If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link:-

Contribution


Contact On My Mail :-mail@gmail.com

Velkamhell
Shopify Partner
16 2 0

This is an accepted solution.

Sorry i was typing linklist instead linklists, thanks a lot. My fault, thanks anyway.