Symptoms
- On a category, brand or search results page, you click Show More under a product filter and a dialog opens with the full list of values.
- The heading at the top of that dialog shows the filter's internal name (for example the raw product option or custom field name) instead of the Display Name you set for that filter.
- The filter in the sidebar shows the correct Display Name. Only the Show More dialog is wrong.
- The values inside the dialog are correct and still filter the product list when clicked.
- There is no error to find in the browser console. The template renders successfully; it just prints the wrong variable.
Cause
This was a known bug in the Cornerstone theme. The Show More dialog is rendered by templates/components/faceted-search/show-more-facets.html, and older versions printed {{all_facets}} in the heading. That value is the facet's identifier, which the template also uses to pick the right list of values. It is not the Display Name you configured under Products › Filtering.
BigCommerce fixed it in Cornerstone pull request #2510, "Fix product filter display name in Show More modal window", which shipped in Cornerstone 6.16.0 according to the Cornerstone changelog. The fixed template prints {{facet_title}} when the platform supplies it and falls back to {{all_facets}} otherwise. Themes built on Cornerstone before that release, including custom forks that never merged upstream changes, still show the internal name.
A second, less common cause is that the Display Name was never set. In that case the sidebar label is wrong too, which tells you the problem is configuration, not the template.
Resolution
Confirm the filter's Display Name. In the control panel, go to Products › Filtering, open the filter's Action menu (⋯) and check Display Name, which BigCommerce describes as the label for the filter as it appears on your storefront. Save if you change it. If the sidebar label is also wrong, fix the configuration first.
Check your theme version. In your theme files, open
package.jsonorCHANGELOG.mdand find the Cornerstone version. If it is 6.16.0 or later and the template has not been customized, the fix should already be present.Stock Cornerstone: update the theme. Apply a theme update that includes 6.16.0 or later. If you have edited theme files, compare your changes against the new version first and test on an unpublished copy before applying it.
Custom or forked theme: port the change. Open
templates/components/faceted-search/show-more-facets.htmland replace the plain{{all_facets}}inside thefacet-quick-headingelement with the conditional from PR #2510:{{#if facet_title}} {{facet_title}} {{else}} {{all_facets}} {{/if}}Leave the later
{{#if facet '===' ../all_facets}}comparison unchanged, because it still needs the internal key to pick the right list of values. If your theme renamed or moved this partial, search forfacet-quick-heading, or follow theshowMoretemplates referenced incategory.js,brand.jsandsearch.js.Bundle and push. Use your normal Stencil CLI workflow to test locally, then bundle and push the theme and apply it to the storefront you are testing.
Verify. Open a category with a filter long enough to show a Show More link (BigCommerce's filtering article says the link appears when an option has more than 15 values), click it, and confirm the heading matches the Display Name. Check a brand page and a search results page too, plus a mobile viewport. Use a private browser window so cached theme files do not mislead you. Finally, click a value in the dialog and confirm the product list filters correctly.
If the heading is still wrong on 6.16.0 or later with an unmodified template, send BigCommerce support the store URL, the theme name and version, the filter name and a screenshot of both the sidebar and the dialog.
How to prevent it
- Keep a clear record of where your theme diverges from upstream Cornerstone, so you can merge fixes like this one instead of missing them.
- Read the Cornerstone changelog before each theme update and test faceted search on a preview theme as part of your release checklist.
- Set a Display Name on every filter you enable. Internal names created by imports or integrations are rarely what shoppers should see.
B2B and ERP considerations
Catalogs fed from an ERP or PIM often create product options and custom fields with system-style names, such as attribute codes. Display Name is what keeps those codes off the storefront, so this bug tends to be more visible on B2B stores with long attribute lists that trigger Show More.
BigCommerce's filtering settings article also notes that product options and custom fields cannot share the same name; if they do, the custom field will not display as a filter. If you manage filters through the API, display_name is a field on the /v3/settings/search/filters and contextual filter endpoints. The contextual filters guide says the API currently supports only the default channel, so check additional storefronts in the control panel.
Related problems to check
- Logged-in shoppers cannot see prices in Cornerstone quick search
- Catalyst filter URLs emit an unexpected canonical or noindex
- Stencil start fails with 401 while fetching store channels
Related articles
- Logged-in shoppers cannot see prices in Cornerstone Quick Search
- Product rich results fail for a price range or variants
- Storefront search misses a partial or formatted SKU
- Catalyst filter URLs emit an unexpected canonical or noindex
- All variants display the same price
More in the BigCommerce knowledge base, including every article on Catalog, pricing and search.