custom/apps/TrustedShopsEasyIntegrationS6/Resources/views/storefront/page/product-detail/description.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/description.html.twig' %}
  2. {% block page_product_detail_description_content_properties %}
  3.     {{ parent() }}
  4.     {% if tsChannelId is not null %}
  5.         {% if tsConfig[tsChannelId].widgets is defined and expectedMapping[tsChannelId] === tsConfig[tsChannelId].widgets.eTrustedChannelRef %}
  6.             <!-- added by Trusted Shops app: Start -->
  7.             <div class="row">
  8.                 <div class="col-12">
  9.                     {% set product = page.product %}
  10.                     {% if page.product.parentId %}
  11.                         {% if page.extensions.tsParentProduct is defined and not null %}
  12.                             {% set product = page.extensions.tsParentProduct %}
  13.                         {% endif %}
  14.                     {% endif %}
  15.                     {% sw_include '@Storefront/storefront/includes/widget-assembler.html.twig' with {
  16.                         widgets: tsConfig[tsChannelId].widgets.children.0.children,
  17.                         product: product,
  18.                         widgetLocationId: 'wdg-loc-pd',
  19.                     } %}
  20.                 </div>
  21.             </div>
  22.         {% endif %}
  23.         <!-- End -->
  24.     {% endif %}
  25. {% endblock %}