{% set Category = repository('Eccube\\Entity\\Category').find(cid) %}
{% set cate_childs = Category.getDescendants %}
{% if cate_childs %}
{% set h = Category.hierarchy + 1 %}
{% for cate in cate_childs %}
{% if h == cate.hierarchy and cate.hidden_flag == 0 %}
<li>
<a href="/products/list?category_ids[]={{ cate.id }}" class="c-link-02">
<i class="s-icon">
<svg>
<use xlink:href="{{ asset('assets/img/ico/ico_arrow_forward.svg#obj') }}"></use>
</svg>
</i>
<span class="s-text">{{ cate.name }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endif %}