Page sub category lists in REC
{% include "html/helpers/sub-categories-list.html.twig" with {'parent': page.products_shown_cat_id } %} |
{% set subCategories = api('categories', { parent: parent } %} | |
{% for category in subCategories %} | |
<a href="{{ category.link }}">{{ category.name }}</a> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment