{if $showProducerFilter}
   {$total_filters = $total_filters + 1 scope='global'}
   <div class="filter-row filter-producers">
      <button type="button" class="filter-label" data-opener="[data-opener-producers]">{t}Značka{/t}</button>
      <div class="opener-content" data-opener-producers>
         <div class="opener-content-inner">
            <div class="filter-search-input-wrapper">
               <label for="manufacturer-search" class="fc icons_search"></label>
               <input type="text" name="manufacturer-search" class="form-control filter-search-input" placeholder="{t}Vyhledejte psaním{/t}"
                      data-role="producer-search" id="manufacturer-search">
            </div>
            <p data-filter="show-all-manufacturers" style="display: none" class="filter-notfound">{t}Zobrazit všechny značky{/t}</p>

            <div class="manufacturer-box filter-scrollbar" data-role="producer-list" data-tracking-click="{['target'=>'vyrobce']|json_encode}">
               {foreach $body.dynamic_filter.producers.values as $manufacturer}
                  <label class="custom-control custom-checkbox" for="filter_producer_{$manufacturer.id}" title="{$manufacturer.name}" data-producer="{$manufacturer.id}">
                     <input type="checkbox" class="custom-control-input" name="dynamic_filter[producerIds][]"
                            value="{$manufacturer.id}" id="filter_producer_{$manufacturer.id}"
                            data-filter-input="{t}vyrobce{/t}"
                             {if $dbcfg.analytics.google_tag_manager.gtm_dl_version == '2'}
                                data-tracking-filter="{['event'=>'applyFilterParams','filtrName'=>'výrobci','filtrId'=>'','filtrValue'=>['name'=>$manufacturer.name,'id'=>$manufacturer.id,'value'=>'','min'=>'','max'=>'','active'=>'']]|json_encode}"
                             {/if}
                            >
                     <span class="custom-control-indicator"></span>
                     <span class="custom-control-text">
                        {$manufacturer.name}
                        <small>(<span class="filter-count" data-filter-count="{$manufacturer.id}">{$manufacturer.count}</span>)</small>
                     </span>
                  </label>
               {/foreach}
            </div>
         </div>
      </div>
   </div>
{/if}
