Metafield collection list, how to retrieve collection data

Collection setting I have a metafield named child_collection_list which let user self define child collection to be show on collection page

from collection page I obtain it by
{% assign child_collection = collection.metafields.custom.child_collection_list %}
its value in string format
[“gid://shopify/Collection/563659761”,“gid://shopify/Collection/563659794”,“gid://shopify/Collection/563659827”]

I split and reformat it in ID array
and use colections object to retrieve the data like {{ collections[‘563659761’].handle }}

but I meet the 1000 max result set limitation

is there have any direct method to retrieve the collection object by collection’s handle or id from section liquid ??

Hi @XavierTsang
You can use for loop to retrive collection Object, Check the below code

{% assign child_collection = collection.metafields.custom.child_collection_list.value %}
{% for collection in child_collection %}
  {{ collection.title }}
{% endfor %}

Thx for reply, I missing the .value can’t return collection object

You’re welcome @XavierTsang
To fetch collections object you need to pass .value in metafield
You can find more here: https://shopify.dev/docs/api/liquid/objects/metafield#metafield-value