custom/plugins/cutvertCrosssellingCart/src/Resources/views/storefront/utilities/offcanvas.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}
  2. {% block utilities_offcanvas %}
  3.     {% if controllerName === "Checkout" && cutvertCartCrossselling is not empty %}
  4.         <div class="cu_crossselling_container">
  5.             <div class="cu_crossselling_cart">
  6.                 {{ parent() }}
  7.             </div>
  8.             <div class="cu_crosselling_main">
  9.             <h2>Ähnliche Produkte</h2>
  10.                 {% for product in cutvertCartCrossselling %}
  11.                     {% sw_include '@Storefront/storefront/component/product/card/box.html.twig' with {product:product,layout:"minimal"} %}
  12.                 {% endfor %}
  13.             </div>
  14.             {# <div class="cu_crossselling_cart">
  15.                 {{ parent() }}
  16.             </div> #}
  17.             <div class="clear"></div>
  18.         </div>
  19.     {% else %}
  20.         {{ parent() }}
  21.     {% endif %}
  22. {% endblock %}