@Alan_G also, if people are looking at pagination issues – if collection object is coming from section settings, pagination does not work for its products.
Same for blog and articles:
Basically, if i have a collection
setting in my section,
{% paginate section.settings.collection.products by 100 %}
is ignored and only up to 50 products are given.
There is a workaround though – to fetch collection via collections
{% assign co = collections[section.settings.collection.handle] %}
{% paginate co.products by section.settings.products_to_show %}
{%- for product in co.products limit: section.settings.products_to_show -%}
If collection object comes from metafields, then its products are paginated properly.