I want to create a page that contains some collections images and links.
Is there a way to get the collection title and image link using something specific for the collection (as an id), so the image will be changed in the page if we change it in the collection itself?
From what I understand, you want a custom page that showcases some specific collections because maybe you want a subcollection page. Am I right? I think your requirements are something similar to one of my client’s e.g here is a similar page https://doyoutest.myshopify.com/pages/can-am that I made for that I client.
If that’s what you want to achieve, then I can give you some rough idea and direction to get this task done, otherwise, you can hire an expert to code the entire page.
I’m including the code and it will work with your theme but the design might not be perfect.
{% for collection in collections %}
{% if request.path contains '/pages/can-am' %}
{% if collection.title == "CAN-AM ATV" or collection.title == "CAN-AM SIDE BY SIDE" or collection.title == "CAN-AM ROADSTER"%}
{% if collection.image %}
{% else %}
{% endif %}
{{collection.title}}
{% endif %}
{% endif %}
{% endfor %}
Replace the collection.title value with your collection handle. It will loop through all the collections and display only the ones that you’ll enter in collection.title value.