{{#if product_results.products.length}} {{> components/products/filter sort=pagination.product_results.sort}} {{/if}}
{{#if theme_settings.product_list_display_mode '===' 'grid'}} {{#if settings.data_tag_enabled}} {{> components/products/grid products=product_results.products show_compare=product_results.show_compare event="list" theme_settings=theme_settings}} {{else}} {{> components/products/grid products=product_results.products show_compare=product_results.show_compare theme_settings=theme_settings}} {{/if}} {{else}} {{#if settings.data_tag_enabled}} {{> components/products/list products=product_results.products show_compare=product_results.show_compare event="list" theme_settings=theme_settings}} {{else}} {{> components/products/list products=product_results.products show_compare=product_results.show_compare theme_settings=theme_settings}} {{/if}} {{/if}}
{{> components/common/paginator pagination.product_results}}