Accessing collections in app proxy

Hi,

Is there any restrictions on what you can access using an app proxy?

Filters etc seem to work fine and we can access product data if we have the handle but {% for collection in collections %} always returns nothing. We have collections in the store so not sure what the issue is.

Thanks

Hey @BoxUp ,

The collections should be accessible from the app proxy, provided the collection is available on the online store channel.

Iterating over a known product collection.

{% for product in collections.mens-clothes.products %}{{ product.title }}
{% endfor %}

Iteration over the collections

{% for collection in collections %}{{collection.title}}
{% endfor %}