custom/apps/TrustedShopsEasyIntegrationS6/Resources/views/storefront/section/cms-section-sidebar.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/section/cms-section-sidebar.html.twig' %}
  2. {% block section_sidebar_content %}
  3.     {% if sidebarBlocks|length %}
  4.         {{ parent() }}
  5.     {% else %}
  6.         <div class="cms-section-sidebar-sidebar-content col-lg-4 col-xl-3">
  7.             {% if tsChannelId is not null %}
  8.                 {% if tsConfig[tsChannelId].widgets is defined and expectedMapping[tsChannelId] === tsConfig[tsChannelId].widgets.eTrustedChannelRef %}
  9.                     <!-- added by Trusted Shops app: Start -->
  10.                     <div class="ts-margin-container container">
  11.                         <div class="row">
  12.                             <div class="col-12">
  13.                                 {% sw_include '@Storefront/storefront/includes/widget-assembler.html.twig' with {
  14.                                     widgets: tsConfig[tsChannelId].widgets.children.0.children,
  15.                                     product: product,
  16.                                     widgetLocationId: 'wdg-loc-lrm'
  17.                                 } %}
  18.                             </div>
  19.                         </div>
  20.                     </div>
  21.                     <!-- End -->
  22.                 {% endif %}
  23.             {% endif %}
  24.         </div>
  25.     {% endif %}
  26. {% endblock %}
  27. {% block section_sidebar_content_block %}
  28.     {{ parent() }}
  29.     {% if loop.last %}
  30.         {% if tsChannelId is not null %}
  31.             {% if tsConfig[tsChannelId].widgets is defined and expectedMapping[tsChannelId] === tsConfig[tsChannelId].widgets.eTrustedChannelRef %}
  32.                 <!-- added by Trusted Shops app: Start -->
  33.                 <div class="ts-margin-container container">
  34.                     <div class="row">
  35.                         <div class="col-12">
  36.                             {% sw_include '@Storefront/storefront/includes/widget-assembler.html.twig' with {
  37.                                 widgets: tsConfig[tsChannelId].widgets.children.0.children,
  38.                                 product: product,
  39.                                 widgetLocationId: 'wdg-loc-lrm'
  40.                             } %}
  41.                         </div>
  42.                     </div>
  43.                 </div>
  44.                 <!-- End -->
  45.             {% endif %}
  46.         {% endif %}
  47.     {% endif %}
  48. {% endblock %}