How can I link a vendor name to a specific collection using the Habitat theme?

Topic summary

Goal: Make the Vendor label on product pages link to a specific collection (ideally the collection with the same name as the vendor) in the Habitat theme.

What changed: An initial generic Liquid snippet (looping over collections.all and matching by title) was proposed, but the requester couldn’t find product.liquid or the exact vendor markup—likely due to the theme’s sectioned structure.

Outcome on product page: After receiving store access, a theme-specific fix was implemented inside the relevant section/block, using product.collections and matching block.settings.text to a collection title. If a match exists, the vendor text now links to that collection; otherwise it remains plain text. Code snippets were central to the solution.

Limitation on home page: The vendor button on home items remains linked to “frontpage” collections, and the helper stated it cannot be repointed to other collections within current constraints.

Current status: Product-page request resolved. Home-page request not feasible as described. A new user (Molla theme) asked for a similar solution; no answer yet (theme-specific customization needed).

Summarized with AI on January 11. AI used: gpt-5.

You’re welcome.

Hey there, I have a similar problem.

I want my vendor button on the collection and product page linked to my different vendor collection, I created. I use the Molla Theme. Can someone help me out with this, too?

THEME: https://kitisummus.gitbook.io/molla/