templates/widget/product-picture-with-content/default.html.twig line 1

Open in your IDE?
  1. <div class="product-widget product-widget__white">
  2.     <div class="product-widget__heading">{{ title|default|raw }}</div>
  3.     {% if image is defined and image %}
  4.         <div class="product-widget__image">
  5.             <img src="{{ image }}" alt="">
  6.         </div>
  7.     {% endif %}
  8.     <div class="product-widget__grid">
  9.         {% for option in options %}
  10.             <div class="item">
  11.                 <div class="item__heading">{{ option.name|default|raw }}</div>
  12.                 <div class="item__text"> {{ option.description|default|raw }} </div>
  13.             </div>
  14.         {% endfor %}
  15.     </div>
  16.     <div class="composition__tabs">
  17.         {% for description in descriptions %}
  18.             <div class="item {{ description.is_open is defined and description.is_open ? 'opened' }}">
  19.                 <div class="item__header">
  20.                     <div class="item__heading">{{ description.name|default|raw }}</div>
  21.                     <div class="item__toggler">
  22.                         <svg>
  23.                             <use xlink:href="/img/sprite_new.svg#plus" />
  24.                         </svg>
  25.                     </div>
  26.                 </div>
  27.                 <div class="item__content content">
  28.                     {{ description.description|default|raw }}
  29.                 </div>
  30.             </div>
  31.         {% endfor %}
  32.     </div>
  33. </div>