Number of products displayed in a collection

Hello

I am creating a collection of Best-Sellers but want to limit the number of products displayed to 15 in that collection. How can I do this without changing all the other collections? I have no products at 0 inventory or price, so the smart collection is basically filtered by 2 tags (for vendor / retail). I am using Canopy Theme.

Thanks!
Bala

Hi.

In the forloop that’s outputting that collection, you can put a limit filter to stop the for loop at a certain number.

like ,


  {% for product in collections.best-sellers.products | limit:15 %}
    {% include 'product-grid-item' with "all" %}
  {% endfor %}

maybe this will work.

Can you give me more info? Do I put this in collections template liquid file?

Thanks!