{% trans_default_domain 'products' %}
<div {{ attributes }}>
   <div class="inner-content">
      <span class="title">{{ 'product.gift'|trans }}</span>
      <a href="{{ this.url }}" class="product">
         {% if this.thumbnail %}
            <twig:Picture class="img-responsive" thumbnail="{{ this.thumbnail }}" type="product_cart"></twig:Picture>
         {% endif %}
         <span class="product-name">{{ this.title }}</span>
      </a>
      {% if this.variations %}
         <select class="form-control-sm" data-buy-form-note='{ "set_variation": "{{ this.id_product }}"}'>
            {% for variation in this.variations %}
               <option value="{{ variation.id }}">{{ variation.title }}</option>
            {% endfor %}
         </select>
      {% else %}
         <span class="price">{{ 'price.free'|trans }}</span>
      {% endif %}
   </div>
</div>
