Link collection card to a specific page (brooklyn theme)

Hi !

I’m using the brooklyn theme and i wanted to know if it was possible to link a collection to a specific page ?

I tried using the collection editor but they have the “/collections/” that can’t be removed. Does somebody know how to remove it so that i can put the link of my customized page ?

Thanks !

Hi @Ryless

There might be a way to do this, can you share some visuals to see what is it that you’re trying to link to that specific page?

Hi @JHKCreate !,

Thanks for your answer, sorry i didn’t think to put some images ^^.

I highlighted the Card Collection (button) i wanted to link to a specific page

(you can see it directly at the bottom of the site with this url : https://paris-nour.myshopify.com/ )

thanks again !

This could be done by adding a URL field that you would choose that would replace the default link to the collection. We’d need collaborator access to get this done as it involves writing some custom code.

Let me know if ok!

PS: Hello from a fellow Frenchman!

@JHKCreate of course ! Tell me how do you wanna proceed :slightly_smiling_face:

Code has been adjusted across to allow for this new field to exist:

When you want to overwrite the default collection you only need to add a link to the custom link so it takes the place of the collection. Have a try!

Should that help answer your query, we always appreciate liking & marking an as answer to let the community find quality solutions faster. Thanks!

Works like a charm, thank you very much @JHKCreate !

You’re most welcome @Ryless .

Should you need anything else, don’t hesitate to reach out. Cheers!

Hello dear JHKCreate,

would you be able to share the code you added or describe what you did, in order to integrate the custom field for choosing a link?

I would very much appreciate and be grateful.

Kind regards