vendor/shopware/storefront/Resources/views/storefront/block/cms-block-cross-selling.html.twig line 1

Open in your IDE?
  1. {% block block_cross_selling %}
  2.     {% set element = block.slots.getSlot('content') %}
  3.     {% set columns = 1 %}
  4.     {% if element.data.crossSellings.elements is defined and element.data.crossSellings.elements|filter(item => item.total > 0)|length > 0 %}
  5.         <div class="col-12" data-cms-element-id="{{ element.id }}">
  6.             {% block block_cross_selling_inner %}
  7.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  8.             {% endblock %}
  9.         </div>
  10.     {% endif %}
  11. {% endblock %}