templates/web/customer/product/details/parts/attributes_modify/body.twig line 1

Open in your IDE?
  1. {##
  2.  # Product attributes 
  3.  #}
  4. <ul class="attribute-values" data-include-non-editable="{{ this.getIncludeNonEditable() }}">
  5.   {% for attribute in this.getAttributes() %}
  6.     {% if this.isEditableAttribute(attribute) %}
  7.       <li class="{{ this.getAttributeCSSClass(attribute) }}">
  8.         {{ widget(attribute.getWidgetClass(attribute.getType()), attribute=attribute, product=this.product) }}
  9.       </li>
  10.     {% else %}
  11.       <li class="{{ this.getAttributeCSSClass(attribute) }} non-editable">
  12.         <strong>{{ attribute.getName() }}: </strong>
  13.         <span>{{ this.getAttrStringValue(attribute)|nl2br }}</span>
  14.       </li>
  15.     {% endif %}
  16.   {% endfor %}
  17. </ul>