Hi There
I’m currently developing a theme where we’d like to include a custom menu in several collections.
I realise we can probably do this by creating a new template in the theme editor, but I’d like to make it as simple for the client using a metafield.
There doens’t appear to be an option to reference a menu directly with a metafield, so have tried creating a text metafield for the menu handle.
How would I reference this in the for loop? The default menu for loop is;
{% for link in section.settings.navigation.links %}
And I’ve tried;
{% for link in collection.metafields.artist.navigation.links %}
But I’m getting nothing, however, {{ collection.metafields.artist.navigation }} does display the handle put in.
Appreciate this might be a bit of a niche request, but any help would be greatly appreciated.