custom/plugins/OttTracking/src/Resources/views/storefront/tracking/emarsys/get-breadcrumb.html.twig line 1

Open in your IDE?
  1. {% apply spaceless %}
  2.     {% for item in navigationTree %}
  3.         {% if item.category.id == activeNavigationId %}
  4.             {% set breadcrumb = item.category.getPlainBreadcrumb(item.category.id)|slice(1) %}
  5.             {# one line to avoid spaces #}
  6.             {% for key, item in breadcrumb %}{{ item }} {% if not loop.last %}> {% endif %}{% endfor %}
  7.         {% else %}
  8.             {% if item.children|length %}
  9.                 {% sw_include '@Storefront/storefront/tracking/emarsys/get-breadcrumb.html.twig' with {
  10.                     navigationTree: item.children,
  11.                     activeNavigationId: activeNavigationId
  12.                 } only %}
  13.             {% endif %}
  14.         {% endif %}
  15.     {% endfor %}
  16. {% endapply %}