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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_main %}
  3.     {{ parent() }}
  4.     {% if config('CbaxModulCrossSelling.config') and config('CbaxModulCrossSelling.config.addToCartModalActive') %}
  5.         {# For getting the controller route in js, important for subdirectory shops, parameters 1,1,1 as placeholders required #}
  6.         <div style="display: none;" data-cbax-cross-selling-action="{{ path('frontend.cbax.crossselling.addtocartmodal', { productId: 1, quantity: 1, rebuy: 0}) }}"></div>
  7.     {% endif %}
  8. {% endblock %}
  9. {% block base_main_container %}
  10.     {{ parent() }}
  11.     {% if config('CbaxModulCrossSelling.config.showLastSeen') and
  12.         page.lastSeenArticle is defined and
  13.         (page.lastSeenArticle|length) > 0 %}
  14.         {% block page_product_detail_cross_selling_cbax_lastseen %}
  15.             <div class="cbax-cross-selling-lastseen">
  16.                 {% sw_include '@Storefront/storefront/cbax-cross-selling/page/product-detail/lastSeen.html.twig' %}
  17.             </div>
  18.         {% endblock %}
  19.     {% endif %}
  20. {% endblock %}