I would like to select just the children of any given main category (eg. Accessories, Stomps in the picture), regardless of segments in my URL.
I've been trying to understand why the code below won't work.
This just won't work. Why?
{% set categoryGroup = craft.categories.group('productTypes').descendantOf('accessories') %}
<ul>
{% for category in categoryGroup %}
<li class="category">{{ category.title }}</li>
{% endfor %}
</ul>