Show collection's description only from custom collection on product page

Hi everyone,

I can’t figure out how to show the description of my custom collection on my product pages.

Here’s the code i use :

{% for collection in product.collections %}
             {% if collection.collection_type == 'custom' %}
            {{ collection.description }}

                {% endif %}
{% endfor %}

This code return nothing.

But if i filter on the id, it’s working… for exemple :

{% if collection.id == 123123 %}

Does anyone knows how i can exclude the automatics collection from the content i want to show ?

Thanks for your help !

Hi !

I’m still looking for a way to show only the description of a custom collection.

Does anyone find a way to select only a type of collection with {{ collection.description }} ?

Thanks,

Antho

Anyone ?