app/template/airconwork/Module/sidebar_nav-list.twig line 1

Open in your IDE?
  1. {% set Category = repository('Eccube\\Entity\\Category').find(cid) %}
  2. {% set cate_childs = Category.getDescendants %}
  3. {% if cate_childs %}
  4. {% set h = Category.hierarchy + 1 %}
  5. {% for cate in cate_childs %}
  6. {% if h == cate.hierarchy and cate.hidden_flag == 0 %}
  7. <li>
  8.   <a href="/products/list?category_ids[]={{ cate.id }}" class="c-link-02">
  9.   <i class="s-icon">
  10.   <svg>
  11.   <use xlink:href="{{ asset('assets/img/ico/ico_arrow_forward.svg#obj') }}"></use>
  12.   </svg>
  13.   </i>
  14.   <span class="s-text">{{ cate.name }}</span>
  15.   </a>
  16. </li>
  17. {% endif %}
  18. {% endfor %}
  19. {% endif %}