custom/plugins/PixelLexikonSW6/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_item_label %}
  3.     {% set PixelLexikonSW6Config = config('PixelLexikonSW6').config %}
  4.     {% if PixelLexikonSW6Config.LEXIKONARTICLEATTRSPEZ == 'nameandvalues' or PixelLexikonSW6Config.LEXIKONARTICLEATTRSPEZ == 'onlyproperties' %}
  5.         <th class="properties-label">{{ group.translated.name|raw }}:</th>
  6.     {% else %}
  7.         <th class="properties-label">{{ group.translated.name|e }}:</th>
  8.     {% endif %}
  9. {% endblock %}
  10. {% block page_product_detail_properties_item_value %}
  11.     {% set PixelLexikonSW6Config = config('PixelLexikonSW6').config %}
  12.     <td class="properties-value">
  13.         {% apply spaceless %}
  14.             {% for option in group.options %}
  15.                 {% set i = ( i | default(0) ) + 1 %}
  16.                 <span>{% if i > 1 %}, {% endif %}
  17.                     {% if PixelLexikonSW6Config.LEXIKONARTICLEATTRSPEZ == 'nameandvalues' or PixelLexikonSW6Config.LEXIKONARTICLEATTRSPEZ == 'onlyvalue' %}
  18.                         {{ option.translated.name|raw }}
  19.                     {% else %}
  20.                         {{ option.translated.name|e }}
  21.                     {% endif %}
  22.                 </span>
  23.             {% endfor %}
  24.         {% endapply %}
  25.     </td>
  26. {% endblock %}