Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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="{{ }}">{{ }}</a>
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment