{% set banner = this.getBanner() %}

{% if banner %}
   <div {{ attributes }}>
      <a{% if this.link %} href="{{ this.link }}"{% endif %} class="catalog-banner">
         {% if this.thumbnail %}
            <twig:Picture img_class="" thumbnail="{{ this.thumbnail }}" type="{{ this.thumbnail_type }}"/>
         {% endif %}

         <div class="content">
            {% if banner.description %}
               <p class="description">{{ banner.description }}</p>
            {% endif %}

            <p class="title">{{ this.title }}</p>

            {% if this.customProductExists %}
               <twig:Product:Price id_product="{{ this.customDataProductId }}"/>
               <twig:Product:DeliveryTime:Availability id_product="{{ this.customDataProductId }}" show_in_store="{{ this.show_in_store }}"/>
            {% endif %}
         </div>
      </a>
   </div>
{% endif %}
