Skip to content

Instantly share code, notes, and snippets.

@hsleonis
Created September 21, 2020 23:56
Show Gist options
  • Save hsleonis/764793262bc25671a8bf49ee5f17d285 to your computer and use it in GitHub Desktop.
Save hsleonis/764793262bc25671a8bf49ee5f17d285 to your computer and use it in GitHub Desktop.
Shopify different page menu
{% if template contains 'page' and page.url == '/pages/shop' %}
{% assign main_menu = linklists['shop-menu'] %}
{% else %}
{% assign main_menu = linklists[section.settings.main_linklist] %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment