custom/plugins/zenitPlatformHorizon/src/Resources/views/storefront/element/cms-element-zenit-breadcrumb.html.twig line 1

Open in your IDE?
  1. {% block element_zenit_breadcrumb %}
  2.     {# cms element data and configs #}
  3.     {% if element.fieldConfig is defined %}
  4.         {% set breadcrumbConfig = element.fieldConfig.elements %}
  5.         {% set horizontalAlign = breadcrumbConfig.horizontalAlign.value %}
  6.     {% endif %}
  7.     <div class="breadcrumb-wrap zenit-cms-breadcrumb{% if horizontalAlign == "center" %} justify-content-center{% elseif horizontalAlign == "flex-end" %} justify-content-end{% else %} justify-content-start{% endif %}">
  8.         {% set category = page.product.seoCategory ? page.product.seoCategory : page.header.navigation.active %}
  9.         {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  10.             context: context,
  11.             category: category
  12.         } only %}
  13.     </div>
  14. {% endblock %}