<div class="filter-sort">
   <label for="filter-sort">{$sort_label|default:"{t}Seřadit podle{/t}"}{include 'filter/filter.sort.tooltip.tpl'}</label>
   <select name="order" class="form-control" id="filter-sort" data-filter-input="{t}razeni{/t}">
      {foreach $tpl_vars.filter_sorting as $choice}
         <option
            value="{$choice.id}"
            {if $choice.id == $body.ordering.order}selected{/if}
            {if $dbcfg.analytics.google_tag_manager.gtm_dl_version == '2'}
               data-tracking-filter='{get_gtm_data encode=true type='ecommerce' method='ApplyFilterParams' data=['filterId' => "", 'inputValue' => ['value' => $choice.name, 'id' => $choice.id, 'param_name' => 'order']]}'
            {/if}
         >{$choice.name}</option>
      {/foreach}
   </select>
</div>
