I’m using the Minimal theme. I have several collections set up, but I’ve edited my Collection list page (/collections) to have just three of my collections that all represent practice wear : men, women, youth. On the home page, I use a Collection list section to link to two collections (practice wear, competition wear). I can add a custom section, but I don’t know how to make it do the following: show a collection image (practice wear), but define a specific link (instead of just linking to the collection). I’d like the section to display the practice wear collection image but link to the collection list (/collections) page. It should also have another image displayed, the competition wear collection image, but just link to that competition wear collection as it would in the default section.
I realize i could use a gallery with two images and make a link, but i was hoping there was a way to pull in the collection image dynamically, since they’ll be updating the collection image on a regular basis.
Now if you check in theme settings there is option to add external url with each collection.
But next you have make in a modification in code so that if there is external url available for any collection it will use it else use default.
So I implemented the code in the block as you suggested, and I’m editing the code in the collection-grid-item.liquid so that it pulls the external url. my code seems to almost work -
Hi I have added that first code and I can now add a url to the featured collection but that link doesn’t work. How can I get that link to point to the sub collection page? Thanks very much in advance.
The problem that I am experiencing is that when clicking on the collection title/ image, the external URL does not load. Instead it still links to the collection.