The liquid that renders the tag filters is facets.liquid in Sections I think. I am not sure where to add the code in this file?
{%- if filter_type == 'vertical' or filter_type == 'horizontal' -%}
{%- if results.terms -%}
{%- endif -%}
{% if enable_filtering %}
{% comment %} Heading is the first tabbable element on filter type horizontal {% endcomment %}
{%- if filter_type == 'horizontal' and results.filters != empty -%}
{{ 'products.facets.filter_by_label' | t }}
{%- endif -%}
{% comment %} Pills are right below the title for filter type vertical {% endcomment %}
{%- if filter_type == 'vertical' -%}
{%- endif -%}
{% comment %} Filters for both horizontal and vertical filter {% endcomment %}
{%- for filter in results.filters -%}
{%- assign total_active_values = total_active_values | plus: filter.active_values.size -%}
{% case filter.type %}
{% when ‘boolean’, ‘list’ %}
{{- filter.label | escape }}
{%- if filter_type == 'vertical' -%}
({{ filter.active_values.size }})
{%- endif -%}
{% render 'icon-caret' %}
{%- if filter_type != 'vertical' -%}
{%- endif -%}
{{ filter.label | escape }}
{%- for value in filter.values -%}
<svg
width=“1.6rem”
height=“1.6rem”
viewBox=“0 0 16 16”
aria-hidden=“true”
focusable=“false”
<svg
aria-hidden=“true”
class=“icon icon-checkmark”
width=“1.1rem”
height=“0.7rem”
viewBox=“0 0 11 7”
fill=“none”
xmlns=“http://www.w3.org/2000/svg ”
{{ value.label | escape }} ({{ value.count }})
{{- value.label | escape }} (
{%- if value.count == 1 -%}
{{- ‘products.facets.product_count_simple.one’ | t: count: value.count -}}
{%- else -%}
{{- ‘products.facets.product_count_simple.other’ | t: count: value.count -}}
{%- endif -%}
)</span
{%- endfor -%}
{% comment %} No show more for no JS {% endcomment %}
{%- for value in filter.values -%}
<svg
width=“1.6rem”
height=“1.6rem”
viewBox=“0 0 16 16”
aria-hidden=“true”
focusable=“false”
<svg
aria-hidden=“true”
class=“icon icon-checkmark”
width=“1.1rem”
height=“0.7rem”
viewBox=“0 0 11 7”
fill=“none”
xmlns=“http://www.w3.org/2000/svg ”
{{ value.label | escape }} ({{ value.count }})
{{- value.label | escape }} (
{%- if value.count == 1 -%}
{{- ‘products.facets.product_count_simple.one’ | t: count: value.count -}}
{%- else -%}
{{- ‘products.facets.product_count_simple.other’ | t: count: value.count -}}
{%- endif -%}
)</span
{%- endfor -%}
{%- if filter.values.size > 10 and filter_type == 'vertical' -%}
+ {{ 'products.facets.show_more' | t -}}
- {{ 'products.facets.show_less' | t -}}
{%- endif %}
{% when 'price_range' %}
{% liquid
assign currencies_using_comma_decimals = 'ANG,ARS,BRL,BYN,BYR,CLF,CLP,COP,CRC,CZK,DKK,EUR,HRK,HUF,IDR,ISK,MZN,NOK,PLN,RON,RUB,SEK,TRY,UYU,VES,VND' | split: ','
assign uses_comma_decimals = false
if currencies_using_comma_decimals contains cart.currency.iso_code
assign uses_comma_decimals = true
endif
%}
{{ filter.label | escape }}
{% render 'icon-caret' %}
{%- assign max_price_amount = filter.range_max | money | strip_html | escape -%}
{{- 'products.facets.max_price' | t: price: max_price_amount -}}
{%- if filter_type != 'vertical' -%}
{{ 'products.facets.reset' | t }}
{%- endif -%}
{{ cart.currency.symbol }}
{{- 'products.facets.from' | t -}}
{%- if filter_type != 'vertical' -%}
{{ cart.currency.symbol }}
{%- endif -%}
{{- 'products.facets.to' | t -}}
{% endcase %}
{%- endfor -%}
{{ 'products.facets.filter_button' | t }}
{% comment %} Pills after filtes on filter type horizontal {% endcomment %}
{%- if filter_type == 'horizontal' -%}
{%- endif -%}
{% endif %}
{% if results.current_vendor or results.current_type %}
{% endif %}
{%- if filter_type == ‘horizontal’ -%}
{% comment %} Sorting and product count are the last elements when filter type is horizontal {% endcomment %}
{%- if enable_sorting -%}
{{ 'products.facets.sort_by_label' | t }}
{%- assign sort_by = results.sort_by | default: results.default_sort_by -%}
{%- for option in results.sort_options -%}
{{ option.name | escape }}
{%- endfor -%}
{% render 'icon-caret' %}
{{ 'products.facets.sort_button' | t }}
{%- endif -%}
{%- if results.results_count -%}
{{ 'templates.search.results_with_count' | t: terms: results.terms, count: results.results_count }}
{%- elsif results.products_count == results.all_products_count -%}
{{ 'products.facets.product_count_simple' | t: count: results.products_count }}
{%- else -%}
{{
'products.facets.product_count'
| t: product_count: results.products_count, count: results.all_products_count
}}
{%- endif -%}
{%- endif -%}
{% comment %} Sorting for vertical filter are grouped with filter when no JS{% endcomment %}
{%- if enable_sorting and filter_type == 'vertical' -%}
{{ 'products.facets.sort_by_label' | t }}
{%- assign sort_by = results.sort_by | default: results.default_sort_by -%}
{%- for option in results.sort_options -%}
{{ option.name | escape }}
{%- endfor -%}
{% render 'icon-caret' %}
{{ 'products.facets.sort_button' | t }}
{% if results.current_vendor or results.current_type %}
{% endif %}
{%- if results.terms -%}
{%- endif -%}
{%- endif -%}
{%- endif -%}
{% comment %} Drawer and mobile filter {% endcomment %}
{% render 'icon-filter' %}
{%- if enable_filtering and enable_sorting -%}
{{ 'products.facets.filter_and_sort' | t }}
{%- elsif enable_filtering -%}
{{ 'products.facets.filter_button' | t }}
{%- elsif enable_sorting -%}
{{ 'products.facets.sort_button' | t }}
{%- endif -%}
{%- if enable_filtering -%}
{{ 'products.facets.filter_button' | t }}
{%- endif -%}
{%- render 'icon-close' -%}
{%- if enable_filtering and enable_sorting -%}
{{ 'products.facets.filter_and_sort' | t }}
{%- elsif enable_filtering -%}
{{ 'products.facets.filter_button' | t }}
{%- elsif enable_sorting -%}
{{ 'products.facets.sort_button' | t }}
{%- endif -%}
{%- if enable_filtering -%}
{{ 'products.facets.filter_button' | t }}
{%- endif -%}
{%- if results.results_count -%}
{{ 'templates.search.results_with_count' | t: terms: results.terms, count: results.results_count }}
{%- elsif results.products_count == results.all_products_count -%}
{{ 'products.facets.product_count_simple' | t: count: results.products_count }}
{%- else -%}
{{
'products.facets.product_count'
| t: product_count: results.products_count, count: results.all_products_count
}}
{%- endif -%}
{%- if enable_filtering -%}
{%- for filter in results.filters -%}
{% case filter.type %}
{% when 'boolean', 'list' %}
{{ filter.label | escape }}
{% render 'icon-arrow' %}
{% render 'icon-caret' %}
{% render 'icon-arrow' %}
{{ filter.label | escape }}
{%- for value in filter.values -%}
<svg
width=“1.6rem”
height=“1.6rem”
viewBox=“0 0 16 16”
aria-hidden=“true”
focusable=“false”
<svg
aria-hidden=“true”
class=“icon icon-checkmark”
width=“1.1rem”
height=“0.7rem”
viewBox=“0 0 11 7”
fill=“none”
xmlns=“http://www.w3.org/2000/svg ”
{{ value.label | escape }} ({{ value.count }})
{{- value.label | escape }} (
{%- if value.count == ‘1’ -%}
{{- ‘products.facets.product_count_simple.one’ | t: count: value.count -}}
{%- else -%}
{{- ‘products.facets.product_count_simple.other’ | t: count: value.count -}}
{%- endif -%}
)</span
{%- endfor -%}
{% when 'price_range' %}
{{ filter.label | escape }}
{% render 'icon-arrow' %}
{% render 'icon-caret' %}
{% render 'icon-arrow' %}
{{ filter.label | escape }}
{%- assign max_price_amount = filter.range_max | money | strip_html | escape -%}
{{ 'products.facets.max_price' | t: price: max_price_amount }}
{{ cart.currency.symbol }}
{{- 'products.facets.from' | t -}}
{{ cart.currency.symbol }}
{{- 'products.facets.to' | t -}}
{% endcase %}
{%- endfor -%}
{%- endif -%}
{%- if enable_sorting -%}
{{ 'products.facets.sort_by_label' | t }}
{%- for option in results.sort_options -%}
{{ option.name | escape }}
{%- endfor -%}
{% render 'icon-caret' %}
{%- endif -%}
{% if results.current_vendor or results.current_type %}
{% endif %}
{%- if results.terms -%}
{%- endif -%}
{% comment %} Sort, product count and filter pills at the end when filter is type of Drawer for the correct tabbing order {% endcomment %}
{%- if enable_sorting and filter_type == 'drawer' -%}
{{ 'products.facets.sort_by_label' | t }}
{%- assign sort_by = results.sort_by | default: results.default_sort_by -%}
{%- for option in results.sort_options -%}
{{ option.name | escape }}
{%- endfor -%}
{% render 'icon-caret' %}
{{ 'products.facets.sort_button' | t }}
{% if results.current_vendor or results.current_type %}
{% endif %}
{%- if results.terms -%}
{%- endif -%}
{%- endif -%}
{%- if results.results_count -%}
{{ 'templates.search.results_with_count' | t: terms: results.terms, count: results.results_count }}
{%- elsif results.products_count == results.all_products_count -%}
{{ 'products.facets.product_count_simple' | t: count: results.products_count }}
{%- else -%}
{{
'products.facets.product_count'
| t: product_count: results.products_count, count: results.all_products_count
}}
{%- endif -%}
{%- if filter_type == 'drawer' -%}
{%- endif -%}