diff --git a/sections/main-collection-product-grid.liquid b/sections/main-collection-product-grid.liquid index 3aeab51ef7c..b234d7ef862 100644 --- a/sections/main-collection-product-grid.liquid +++ b/sections/main-collection-product-grid.liquid @@ -24,99 +24,100 @@ {%- endstyle -%}
- {% comment %} Sort is the first tabbable element when filter type is vertical {% endcomment %} - {%- if section.settings.enable_sorting and section.settings.filter_type == 'vertical' -%} - -
-
-
-

- -

-
- {%- assign sort_by = collection.sort_by | default: collection.default_sort_by -%} - - {% render 'icon-caret' %} + {%- paginate collection.products by section.settings.products_per_page -%} + {% comment %} Sort is the first tabbable element when filter type is vertical {% endcomment %} + {%- if section.settings.enable_sorting and section.settings.filter_type == 'vertical' -%} + + +
+
+

+ +

+
+ {%- assign sort_by = collection.sort_by | default: collection.default_sort_by -%} + + {% render 'icon-caret' %} +
+
- -
-
-

- - {%- if collection.results_count -%} - {{ - 'templates.search.results_with_count' - | t: terms: collection.terms, count: collection.results_count - }} - {%- elsif collection.products_count == collection.all_products_count -%} - {{ 'products.facets.product_count_simple' | t: count: collection.products_count }} - {%- else -%} - {{ - 'products.facets.product_count' - | t: product_count: collection.products_count, count: collection.all_products_count - }} - {%- endif -%} - -

-
- +
+

+ + {%- if collection.results_count -%} + {{ + 'templates.search.results_with_count' + | t: terms: collection.terms, count: collection.results_count + }} + {%- elsif collection.products_count == collection.all_products_count -%} + {{ 'products.facets.product_count_simple' | t: count: collection.products_count }} + {%- else -%} + {{ + 'products.facets.product_count' + | t: product_count: collection.products_count, count: collection.all_products_count + }} + {%- endif -%} + +

+
+ +
-
- - - {%- endif -%} - -
- {{ 'component-facets.css' | asset_url | stylesheet_tag }} - - {%- if section.settings.enable_filtering or section.settings.enable_sorting -%} - + + {%- endif -%} -
- {%- paginate collection.products by section.settings.products_per_page -%} +
+ {{ 'component-facets.css' | asset_url | stylesheet_tag }} + + {%- if section.settings.enable_filtering or section.settings.enable_sorting -%} + + {%- endif -%} + +
{%- if collection.products.size == 0 -%}
@@ -168,9 +169,9 @@ {%- endif -%}
{%- endif -%} - {%- endpaginate -%} +
-
+ {%- endpaginate -%}
{% schema %} diff --git a/sections/main-search.liquid b/sections/main-search.liquid index b459789d12a..d381a692f71 100644 --- a/sections/main-search.liquid +++ b/sections/main-search.liquid @@ -59,152 +59,152 @@ } {%- endstyle -%} -
-
-

- {%- if search.performed -%} - {{- 'templates.search.title' | t -}} - {%- else -%} - {{- 'general.search.search' | t -}} - {%- endif -%} -

-