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

13 lines
480 B
Plaintext

{% layout none %}
{% comment %}
Product cards for the homepage new products slider.
Requested as /collections/{handle}?sort_by=created-descending&view=new-products-data
so Shopify returns the collection from newest to oldest.
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 %}