Facets / Filters / Label Name Change

Label Name Change

Change the label value for any facet group, e.g. window.sx_results.facets.authors.label = 'Writers' will change the facet Authors to Writers.

Applicable Facet Fields

Facet Field Applicable To Description
author articles Authors of articles.
blog_list articles Blogs in which articles have membership.
collections products Collections in which products have membership.
option_0 products First variant option on product.
option_1 products Second variant option on product.
option_2 products Third variant option on product.
product_type products Product Type on product.
tags articles, products Third variant option on product.
vendor products Vendor on product.


 

Option Field Allowed Values
label string

~CE

<script>
  window.sx_results = {
    options: {
      facets: {
        author: {
          label: 'Writers'
        }
      }
    }
  }
</script>
HTML