If you want to get the products that a collection holds you can use the fetchWithProducts method:
client.collection.fetchWithProducts('Xk9lM2JkNzFmNzIQ4NTIY4ZDFiZTUyZTUwNTE2MDNhZjg==').then((collection) => {
// Do something with the collection
})
This will return onto the collection object a 20 products array. There is no way you can specify the number of products this method should return.
I propose to add an optional param after id, called pageSize as the product.fetchAll has.
Would love to see this update as well.
Thirded! Can we get a response on this please? At least acknowledgement
Hi folks. This is an open source repo! Feel free to make a PR to contribute back this change.
Anything on this?
Shopify just wants us to pay for their "Experts" instead of fixing broken stuff... How nice.
We have released a new version that includes this fix. Read more about it in the CHANGELOG.