modules/QSL/ShopByBrand/templates/web/customer/modules/QSL/ShopByBrand/brands_block/body.twig line 1

Open in your IDE?
  1. {##
  2.  # Block with the list of brands.
  3.  #}
  4. <ul class="{{ this.getListClasses() }}">
  5.     {% for idx, _brand in this.getBrands() %}
  6.     <li class="{{ this.getItemClass(_brand.0, idx) }}">
  7.         <a href="{{ xurl('brand', '', {'brand_id': _brand.0.brand_id}) }}" class="{{ this.getLinkClass(_brand.0, idx) }}">{{ _brand.0.getName() }}{% if this.isProductCountVisible() %}<span class="product-count"> ({{ _brand.productCount }})</span>{% endif %}</a>
  8.     </li>
  9.     {% endfor %}
  10. </ul>
  11. {% if this.isAllBrandsLinkVisible() %}
  12.   <div class="all-brands-link"><a href="{{ xurl('brands') }}">{{ t('All brands') }}</a></div>
  13. {% endif %}