Files
season/templates/collection.bestsellers-data.liquid
2026-10-02 15:46:21 -06:00

13 lines
473 B
Plaintext

{% layout none %}
{% comment %}
Product cards for the homepage best sellers slider.
Requested as /collections/{handle}?sort_by=best-selling&view=bestsellers-data
so Shopify returns the collection in best-selling order.
Keep the page size aligned with the section maximum (12).
{% endcomment %}
{% paginate collection.products by 12 %}
{% for product in collection.products %}
{% render 'bestsellers-card', product: product %}
{% endfor %}
{% endpaginate %}