You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrieving a list of collections only (to create a filter list) is it possible to only return those with products? It returns them all even when blank but there doesn't seem to be an attribute where it shows a product count to then ignore?
When retrieving a list of collections only (to create a filter list) is it possible to only return those with products? It returns them all even when blank but there doesn't seem to be an attribute where it shows a product count to then ignore?
client.collection.fetchQuery({first: 100, sortKey: 'TITLE'}).then(function(collections) {
I could then loop through
collection.products
on each and get the length that way but seems a little long winded and I'm guessing extra processing?The text was updated successfully, but these errors were encountered: