I want to add a bit of liquid that shows the custom collection that product is part of, as a link. I have to code this into the page via a snippet.
You can use product.collections to return an array of the collections that the product belongs to.
From there, you will probably just want to return the first collection in that array.
{% assign product_collection = product.collections.first %} {% if product_collection %} This product is part of my {{ product_collection.title | link_to: product_collection.url }} Collection {% endif %}