modules/QSL/ShopByBrand/templates/web/customer/modules/QSL/ShopByBrand/brand/icon.twig line 1

Open in your IDE?
  1. {##
  2.  # Brand ico
  3.  #}
  4. {% if this.hasBrand() %}
  5.   <div class="product-brand">
  6.       <a href="{{ xurl('brand', '', {'brand_id': this.brand.getBrandId()}) }}">
  7.           {% if this.hasBrandLogo() %}
  8.             <span class="product-brand-icon">
  9.                 {{ widget('\\XLite\\View\\Image', image=this.getLogo(), maxWidth=this.getLogoWidth(), maxHeight=this.getLogoHeight(), centerImage='0', verticalAlign='middle', alt=this.getBrandName()) }}
  10.             </span>
  11.           {% endif %}
  12.           {% if not this.hasBrandLogo() %}
  13.             <span class="product-brand-name">{{ this.getBrandName() }}</span>
  14.           {% endif %}
  15.       </a>
  16.   </div>
  17. {% endif %}