test-pages2

{% assign targetCollectionId = 'your-collection-id' %} {% assign targetCollection = collections.all | where: 'id', targetCollectionId | first %} {% for product in targetCollection.products %} {{ product.title }} {% endfor %}