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

Open in your IDE?
  1. {% block page_product_detail_properties_inner %}
  2.   <div class="product-detail-properties">
  3.     {% block page_product_detail_properties_container %}
  4.       <div class="row product-detail-properties-container">
  5.         <div class="col-md-12 col-lg-12">
  6.                  <span class="product-detail-ordernumber-label">
  7.                     <div class="product-detail-description-text"
  8.                          itemprop="description">
  9.                         <span>{{ "detail.tabsDescription"|trans|sw_sanitize }}</span>
  10.                     </div>
  11.                                                 {# @var product \Shopware\Core\Content\Product\SalesChannel\SalesChannelProductEntity #}
  12.                     <meta itemprop="productID"
  13.                           content="{{ page.product.id }}"/>
  14.                     {% block page_product_detail_properties_table %}
  15.                       <table class="table table-striped product-detail-properties-table">
  16.                             <tbody>
  17.                               <tr class="properties-row">
  18.                                             <th
  19.                                               class="properties-label">{{ "detail.productNumberLabel"|trans|sw_sanitize }}</th>
  20.                                             <td class="properties-value">
  21.                                                 {% apply spaceless %}
  22.                                                   <span>     {{ page.product.productNumber }}
  23. </span>
  24.                                                 {% endapply %}
  25.                                             </td>
  26.                                     </tr>
  27.                             {% for group in page.product.sortedProperties %}
  28.                               {% block page_product_detail_properties_table_row %}
  29.                                 <tr class="properties-row">
  30.                                         {% block page_product_detail_properties_item_label %}
  31.                                           <th class="properties-label">{{ group.translated.name|e }}:</th>
  32.                                         {% endblock %}
  33.                                   {% block page_product_detail_properties_item_value %}
  34.                                     <td class="properties-value">
  35.                                                 {% apply spaceless %}
  36.                                                   {% for option in group.options %}
  37.                                                     {% set i = ( i | default(0) ) + 1 %}
  38.                                                     <span>{% if i > 1 %}, {% endif %}{{ option.translated.name|e }}</span>
  39.                                                   {% endfor %}
  40.                                                 {% endapply %}
  41.                                             </td>
  42.                                   {% endblock %}
  43.                                     </tr>
  44.                               {% endblock %}
  45.                             {% endfor %}
  46.         
  47.                             <tr class="properties-row">
  48.                                             <th
  49.                                               class="properties-label">{{ "detail.composizione"|trans|sw_sanitize }}:</th>
  50.                                             <td class="properties-value">
  51.                                                 {% apply spaceless %}
  52.                                                   <span>    {{ page.product.translated.customFields.migration_attribute_9_ax_composizione_160 }}
  53. </span>
  54.                                                 {% endapply %}
  55.                                             </td>
  56.                                     </tr>
  57.                             <tr class="properties-row">
  58.                                             <th
  59.                                               class="properties-label">{{ "detail.dimensione"|trans|sw_sanitize }}:</th>
  60.                                             <td class="properties-value">
  61.                                                 {% apply spaceless %}
  62.                                                   <span>    {{ page.product.translated.customFields.migration_attribute_9_ax_dimensioni_152 }}
  63. </span>
  64.                                                 {% endapply %}
  65.                                             </td>
  66.                                     </tr>
  67.                             </tbody>
  68.                         </table>
  69.                     {% endblock %}
  70.                  </span>
  71.         </div>
  72.       </div>
  73.     {% endblock %}
  74.   </div>
  75. {% endblock %}