Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey! I'm making a simple collection page and ran into an issue. I'm showing the number of products in my collection with {{ collection.products_count }} and runing this loop :
{% paginate collection.products by 24 %}
{% for product in collection.products %}
{% include "product-card" %}
{% endfor %}
{% endpaginate %}
The loop outputs 4 products when I'm in a specific collection that has only 4 products but the {{ collection.products_count }} outputs 8. Also, when I go to /collections/all, the loop outputs less than 24 products per page even if my shop has hundreds of products.
Can someone help? Thanks!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025