{foreach $parameter.values as $value}
   <label class="custom-control filter-param-color" for="filter_params[{$id_parameter}][{$value.id}]" title="{$value.name}">
      <input type="checkbox" name="dynamic_filter[parameters][{$id_parameter}][value][]" value="{$value.id}"
             id="filter_params[{$id_parameter}][{$value.id}]" data-filter-input="{$inputId}"
             {if in_array($value.id, $selectedParameters[$id_parameter].values)}checked{/if} data-tracking-filter='{get_gtm_data encode=true type='ecommerce' method='ApplyFilterParams' data=['filterId' => $id_parameter, 'inputValue' => $value]}' />
      {if $indexed and $urlGenerator}
         {$generated = $urlGenerator->getParameterUrl($id_parameter, $value.id, $value.filter_url)}
         <a href="{$generated.url}">
            <span {if $value.description}style="background: {$value.description};"{/if}></span>
         </a>
      {else}
         <span {if $value.description}style="background: {$value.description};"{/if}></span>
      {/if}
   </label>
{/foreach}
