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 !