custom/plugins/SchilderSysteme/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.                                 {% if group.customFields.custom_special_properties_type is same as("standard") or not group.customFields.custom_special_properties_type %}
  12.                                     {% block page_product_detail_properties_table_row %}
  13.                                         <tr class="properties-row">
  14.                                             {% block page_product_detail_properties_item_label %}
  15.                                                 <th class="properties-label">{{ group.translated.name|e }}:</th>
  16.                                             {% endblock %}
  17.                                             {% block page_product_detail_properties_item_value %}
  18.                                                 <td class="properties-value">
  19.                                                     {% apply spaceless %}
  20.                                                         {% for option in group.options %}
  21.                                                             {% set i = ( i | default(0) ) + 1 %}
  22.                                                             <span>{% if i > 1 %}, {% endif %}{{ option.translated.name|e }}</span>
  23.                                                         {% endfor %}
  24.                                                     {% endapply %}
  25.                                                 </td>
  26.                                             {% endblock %}
  27.                                         </tr>
  28.                                     {% endblock %}
  29.                                 {% endif %}
  30.                             {% endfor %}
  31.                             </tbody>
  32.                         </table>
  33.                     {% endblock %}
  34.                 </div>
  35.             </div>
  36.         {% endblock %}
  37.     </div>
  38. {% endblock %}