{# This file is not used ! #} {% macro renderCategoryValue(categoryValue, subcategoriesCount) %} {% set activeChildrenCount = 0 %} {% for optionValue in categoryValue.children %} {% if optionValue.option.displayInInfoBar %} {% set activeChildrenCount = activeChildrenCount + 1 %} {% endif %} {% endfor %} {% set displayThisCategoryValue = activeChildrenCount > 0 %} {% set displayThisCategoryValue = categoryValue.category.name and activeChildrenCount > 0 or categoryValue.category.isRootCategory %} {% if displayThisCategoryValue %}