{% capture append = "oxidBlock_content" %}

{{ translate({ ident: "CATEGORY_OVERVIEW" }) }}

{% set oCategoryTree = oView.getCategoryTree() %} {% set _iCategoriesPerRow = 3 %} {% set iSubCategoriesCount = 0 %} {% if not empty(oCategoryTree) and oCategoryTree.count() %} {{ script({ include: "js/widgets/oxequalizer.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} {{ script({ add: "$(window).load(function(){ if( !isMobileDevice() ) { oxEqualizer.equalHeight( $( '.subcatList .row .panel' ) ); } });", dynamic: __oxid_include_dynamic }) }}
{% for oCategory in oCategoryTree %} {# TOP categories #} {% if oCategory.getIsVisible() %} {# CMS top categories #} {% if oCategory.getContentCats() %} {% for ocont in oCategory.getContentCats() %} {% set iSubCategoriesCount = iSubCategoriesCount+1 %} {% endfor %} {% endif %} {% if iSubCategoriesCount % _iCategoriesPerRow == 0 %}
{% endif %} {% set iSubCategoriesCount = iSubCategoriesCount+1 %} {% set iconUrl = oCategory.getIconUrl() %}
{# Top categories subcategories #} {% if oCategory.getHasVisibleSubCats() %}
{% if iconUrl %} {% endif %}
{% elseif iconUrl %}
{% if iconUrl %} {{ oCategory.oxcategories__oxtitle.value }} {% endif %}
{% else %}
{% endif %}
{% endif %} {% if iSubCategoriesCount % _iCategoriesPerRow == 0 %}
{% endif %} {% endfor %}
{% endif %} {{ insert_tracker() }} {% endcapture %} {% include "layout/page.html.twig" with {sidebar: "left"} %}