title: How to ad different navigation menus to shopify Debut theme?
body: <p>So I am trying to create different navigation menus for different customer. So when I give a customer a specific tag in shopify (e.g. wholesale) he will see another menu bar than other visitors. Thsi will only happen after he logs into his account.</p>
  <p>Now I tried to find the following snippet:
  <code>{% for link in linklists.main-menu.links %}</code></p>
  <p>to replace it with the following code:</p>
  <pre><code>{% assign menu_handle = 'main-menu' %}
  {% if customer %} 
  {% if customer.tags contains 'wholesale' %} 
  {% assign menu_handle = 'main-menu-wholesale' %} 
  {% endif %} 
  {% endif %} 
  {% for link in linklists[menu_handle].links %}
  </code></pre>
  <p>But I couldn't find that snippet in the debut code that looks like this:</p>
  <pre><code>{% comment %}
  Renders a list of menu items
  Accepts:
  - linklist: {Object} Linklist Liquid object (required)
  - wrapper_class: {String} CSS wrapper class for the navigation (optional)
  
  Usage:
  {% include 'site-nav', linklist: section.settings.main_linklist, wrapper_class: 'site-nav--centered' %}
  {% endcomment %}
  &lt;ul class=&quot;site-nav list--inline{% if wrapper_class != blank %} {{ wrapper_class }}{% endif %}&quot; id=&quot;SiteNav&quot;&gt;
  {% for link in linklists[linklist].links %}
  {%- assign child_list_handle = link.title | handleize -%}
  
  {% comment %}
    Check if third-level nav exists on each parent link.
  {% endcomment %}
  {%- assign three_level_nav = false -%}
  {% if link.links != blank %}
    {% if link.levels == 2 %}
      {%- assign three_level_nav = true -%}
    {% endif %}
  {% endif %}
  
  {% if link.links != blank %}
    &lt;li class=&quot;site-nav--has-dropdown{% if three_level_nav %} site-nav--has-centered-dropdown{% endif %}{% if link.active %} site-nav--active{% endif %}&quot; data-has-dropdowns&gt;
      &lt;button class=&quot;site-nav__link site-nav__link--main site-nav__link--button{% if link.child_active %} site-nav__link--active{% endif %}&quot; type=&quot;button&quot; aria-expanded=&quot;false&quot; aria-controls=&quot;SiteNavLabel-{{ child_list_handle }}&quot;&gt;
        &lt;span class=&quot;site-nav__label&quot;&gt;{{ link.title | escape }}&lt;/span&gt;{% include 'icon-chevron-down' %}
      &lt;/button&gt;
  
      &lt;div class=&quot;site-nav__dropdown{% if three_level_nav %} site-nav__dropdown--centered{% endif %} critical-hidden&quot; id=&quot;SiteNavLabel-{{ child_list_handle }}&quot;&gt;
        {% if three_level_nav %}
          &lt;div class=&quot;site-nav__childlist&quot;&gt;
            &lt;ul class=&quot;site-nav__childlist-grid&quot;&gt;
              {% if link.links != blank %}
                {% for childlink in link.links %}
                  &lt;li class=&quot;site-nav__childlist-item&quot;&gt;
                    &lt;a href=&quot;{{ childlink.url }}&quot;
                      class=&quot;site-nav__link site-nav__child-link site-nav__child-link--parent&quot;
                      {% if childlink.current %} aria-current=&quot;page&quot;{% endif %}
                    &gt;
                      &lt;span class=&quot;site-nav__label&quot;&gt;{{ childlink.title | escape }}&lt;/span&gt;
                    &lt;/a&gt;
  
                    {% if childlink.links != blank %}
                      &lt;ul&gt;
                      {% for grandchildlink in childlink.links %}
                        &lt;li&gt;
                          &lt;a href=&quot;{{ grandchildlink.url }}&quot;
                          class=&quot;site-nav__link site-nav__child-link&quot;
                          {% if grandchildlink.current %} aria-current=&quot;page&quot;{% endif %}
                        &gt;
                            &lt;span class=&quot;site-nav__label&quot;&gt;{{ grandchildlink.title | escape }}&lt;/span&gt;
                          &lt;/a&gt;
                        &lt;/li&gt;
                      {% endfor %}
                      &lt;/ul&gt;
                    {% endif %}
  
                  &lt;/li&gt;
                {% endfor %}
              {% endif %}
            &lt;/ul&gt;
          &lt;/div&gt;
  
        {% else %}
          &lt;ul&gt;
            {% for childlink in link.links %}
              &lt;li&gt;
                &lt;a href=&quot;{{ childlink.url }}&quot;
                class=&quot;site-nav__link site-nav__child-link{% if forloop.last %} site-nav__link--last{% endif %}&quot;
                {% if childlink.current %} aria-current=&quot;page&quot;{% endif %}
              &gt;
                  &lt;span class=&quot;site-nav__label&quot;&gt;{{ childlink.title | escape }}&lt;/span&gt;
                &lt;/a&gt;
              &lt;/li&gt;
            {% endfor %}
          &lt;/ul&gt;
        {% endif %}
      &lt;/div&gt;
    &lt;/li&gt;
  {% else %}
    &lt;li {% if link.active %} class=&quot;site-nav--active&quot;{% endif %}&gt;
      &lt;a href=&quot;{{ link.url }}&quot;
        class=&quot;site-nav__link site-nav__link--main{% if link.active %} site-nav__link--active{% endif %}&quot;
        {% if link.current %} aria-current=&quot;page&quot;{% endif %}
      &gt;
        &lt;span class=&quot;site-nav__label&quot;&gt;{{ link.title | escape }}&lt;/span&gt;
      &lt;/a&gt;
    &lt;/li&gt;
  {% endif %}
  {% endfor %}
  &lt;/ul&gt;
  </code></pre>
  <p>Is there another way to add this code snippet into the debut code? How would that code look like?</p>
  <p>Every hint is appreciated!</p>