<div {{ attributes }}>
   <twig:block name="content"></twig:block>
   {% if this.show_discount_flag %}
      <twig:Product:DiscountLabel id_product="{{ this.id_product }}" id_variation="{{ this.id_variation }}"/>
   {% endif %}
   {% for label in this.labels %}
      {% if label.is_visible %}
         <span class="flag {% if label.data.color ?? false %}flag-{{ label.data.color }}{% endif %}">
            {% if label.data.icon ?? false %}
               <twig:ux:icon name="{{ label.data.icon }}" class="c-icon"/>
            {% endif %}
            {{ label.name }}
         </span>
      {% endif %}
   {% endfor %}
</div>
