Hello,
Can I control the product quantity?
collection.json.liquid
{% layout none %}
{
"title" : "{{ collection.title }}",
"decrtiption" : "{{ collection.description }}",
"products" : [
{% for product in collection.products %}
{
"title" : "{{ product.title }}",
"variants" : [
{% for variant in product.variants %}
{
"id" : "{{ variant.id }}",
"color" : "{{ variant.option1 }}",
"size" : "{{ variant.option2 }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}
{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}
#### collection.demo.liquid
{% layout none %}
Improve this, I’ll build customised filters.
The collection API shows me only 50 products.
Any methods?
Thank you in advance!