custom/plugins/Tuerschild_2/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_inner %}
  3.     <div class="product-detail-properties">
  4.         {% block page_product_detail_properties_container %}
  5.             <div class="row product-detail-properties-container">
  6.                 <div class="col-12">
  7.                     {% block page_product_detail_properties_table %}
  8.                         <table class="table table-striped product-detail-properties-table">
  9.                             <tbody>
  10.                             {% for group in page.product.sortedProperties %}
  11.                                 {% block page_product_detail_properties_table_row %}
  12.                                     <tr class="properties-row">
  13.                                         {% block page_product_detail_properties_item_label %}
  14.                                             <th class="properties-label">{{ group.translated.name|e }}:</th>
  15.                                         {% endblock %}
  16.                                         {% block page_product_detail_properties_item_value %}
  17.                                             <td class="properties-value">
  18.                                                 {% apply spaceless %}
  19.                                                     {% for option in group.options %}
  20.                                                         {% set i = ( i | default(0) ) + 1 %}
  21.                                                         <span>{% if i > 1 %}, {% endif %}{{ option.translated.name|e }}</span>
  22.                                                     {% endfor %}
  23.                                                 {% endapply %}
  24.                                             </td>
  25.                                         {% endblock %}
  26.                                     </tr>
  27.                                 {% endblock %}
  28.                             {% endfor %}
  29.                             </tbody>
  30.                         </table>
  31.                     {% endblock %}
  32.                 </div>
  33.             </div>
  34.         {% endblock %}
  35.     </div>
  36. {% endblock %}