hello Community !
I want to add specific collection name below product name ,but by default random or may be first collection is popping up,is there any way i can target specific collection.
In the screenshot you can see collection name showing as New arrival & Men as these products are added to multiple collection , but i want Oversized collection to appear ,please help me if you are aware about the solution
.
Thank you !
code i used :
{% assign pro_collection = product.collections.first %}
{% if pro_collection %}
This product is part of my {{ pro_collection.title | link_to: pro_collection.url }} Collection
{% endif %}