Hi, I’m trying to build a site using Dawn 2.5.0 and my client wants to have the homepage experience closely mirror the /collections/all page (a collection of all available products with the ability to filter).
I’m able to use a “Featured Product” component to get the products on there but I can’t seem to get Facets to work. (I’ve copied the following code in the top of the featured-collection.liquid file, but something’s not quite working)
{%- if section.settings.enable_filtering or section.settings.enable_sorting -%}
{{ 'component-facets.css' | asset_url | stylesheet_tag }}
{% render 'facets', results: section.settings.collection, enable_filtering: section.settings.enable_filtering, enable_sorting: section.settings.enable_sorting, collapse_on_larger_devices: section.settings.collapse_on_larger_devices %}
{%- endif -%}