custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/page/product-detail/properties.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/properties.html.twig' %}
  2. {% block page_product_detail_properties_table %}
  3.     <div class="h3 product-detail-description-title">
  4.         {{ "proclane-wegmann-theme.pages.product-detail.propertiesTitle"|trans|sw_sanitize }}
  5.     </div>
  6.     <div class="h4 mt-4">
  7.         "{{ page.product.translated.name }}"
  8.     </div>
  9.     <table class="table table-striped product-detail-properties-table">
  10.         <tbody>
  11.         {#  @var product \Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity #}
  12.         {% for group in page.product.sortedProperties %}
  13.             {% block page_product_detail_properties_table_row %}
  14.                 {# the core block is cleared as properties are loaded from custom fields #}
  15.                 {# {{ parent() }} #}
  16.             {% endblock %}
  17.         {% endfor %}
  18.         {% block proclane_page_product_detail_properties_technical_information %}
  19.             {# variable 'productTechnicalInformation' is defined in description.html.twig #}
  20.             {% for technicalInformation in productTechnicalInformation %}
  21.                 <tr class="properties-row">
  22.                     {% block proclane_page_product_detail_properties_item_label %}
  23.                         <th class="properties-label">{{ technicalInformation['name']|e }}:</th>
  24.                     {% endblock %}
  25.                     {% block proclane_page_product_detail_properties_item_value %}
  26.                         <td class="properties-value">
  27.                             {{ technicalInformation['value']|e }}
  28.                         </td>
  29.                     {% endblock %}
  30.                 </tr>
  31.             {% endfor %}
  32.         {% endblock %}
  33.         </tbody>
  34.     </table>
  35. {% endblock %}