custom/plugins/LoyxxRichBreadcrumb/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2.  {% block base_breadcrumb %}
  3.      {% set sessionSeoCategory = app.request.session.get(constant('\\LoyxxRichBreadcrumb\\Subscriber\\ProductPageLoadedEvent::SESSION_SEO_CATEGORY')) %}
  4.      {# @var \Shopware\Core\Content\Category\CategoryEntity #}
  5.      {% set seoCategory = sessionSeoCategory ? sessionSeoCategory : page.product.seoCategory %}
  6.      {% if seoCategory != null and not seoCategory.active %}
  7.          {% set seoCategory = page.product.categoryTree | get_active_category(context) %}
  8.      {% endif %}
  9.      {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  10.          context: context,
  11.          category: seoCategory,
  12.          page: page
  13.      } only %}
  14.  {% endblock %}