MAKE VENDOR A CLICKABLE LINK IN PRODUCTS PAGE

New Member
6 0 0

Hi all. i would like to make my vendors a clickable link. On the products page it shows the vendors at the top before the title i would like this name to be clickable so when you do you see all the items by that specific vendor. please see image below thanks for the help in advance.

 

Image and video hosting by TinyPic

0 Likes
Astronaut
1890 0 384

You'll need to find the location of the code for that text.  It will probably be in Templates/product.liquid.  You might find:

{{ product.vendor }}

Change it to:

{{ product.vendor | link_to_vendor }}

I hope this helps.

2 Likes
New Member
6 0 0

fantastic it worked. really apriciate the help 

0 Likes
Excursionist
26 0 2

Hello,

One note here, if you are using the latest Debut theme,  {{ product.vendor }} is now under Snippets  > product-price.liquid

 

0 Likes
Highlighted
New Member
5 0 0

Unfortunately it did not work for me.

 

I have collections named the different vendors, but I´m not sure how to link them together.

Anyone having a good solution?

0 Likes