<div {{ attributes }}>
   <a href="{{ this.url }}" title="{{ this.title }}" {% if this.showModal %}data-wpj-modal='{{ path('kupshop_components_modal_modal', {template: 'product-info-modal', id_product: this.id_product}) }}'{% endif %}>
      {% if this.thumbnail %}
         {% set id_product = this.id_product %}
         <twig:Picture class="img-responsive" thumbnail="{{ this.thumbnail }}" type="product_cart"/>
      {% endif %}
      <div class="info-wrapper">
         <span class="title">{{ this.title }}</span>
         {% if app.user and app.user.type('b2b') %}
            <twig:Product:B2BPrice id_product="{{ this.id_product }}"/>
         {% else %}
         <twig:Product:Price id_product="{{ this.id_product }}"/>
         {% endif %}
         {% for parameter in this.catalogParams %}
            <span class="parameter">{{ parameter.value }}</span>
         {% endfor %}
      </div>
   </a>
</div>
