Solved

How to make a vendor clickable on product page in Testament theme?

rkellhunt
Tourist
6 1 2

Hi there!

 

We recently changed themes & I've added this update before, but that coding no longer works for this theme.  We wanted to make the vendor clickable from the product page that will take it to that product collection page.   We are using Testament from underground.  Any assistance would be so greatly appreciated!

 

www.shopwilddove.com

 

Thanks!!

Accepted Solution (1)

AliReviews
Shopify Partner
773 90 356

This is an accepted solution.

Hello @rkellhunt ,

 

You can try to follow these steps:

  • Go to Online Store -> Themes -> Actions -> Edit code
  • Go to Sections -> product-template.liquid file 
  • Look for the code that displays the vendor information. It should be something like:
<div class="product-vendor">{{ product.vendor }}</div>
  • Wrap the vendor information with an anchor tag (<a>) to make it clickable. Modify the code as follows:
<a href="/collections/vendors?q={{ product.vendor | handle }}">{{ product.vendor }}</a>
  • Save and preview

 

Hope this can help. Let us know if you need any further support

Ali Reviews team.

- Was my answer helpful? Please hit Like or Mark it as solution!
- Ali Reviews - The must-have Shopify app that empowers you to effortlessly collect, display, and manage product reviews.
- Start your FREE trial today!

View solution in original post

Replies 8 (8)

AliReviews
Shopify Partner
773 90 356

This is an accepted solution.

Hello @rkellhunt ,

 

You can try to follow these steps:

  • Go to Online Store -> Themes -> Actions -> Edit code
  • Go to Sections -> product-template.liquid file 
  • Look for the code that displays the vendor information. It should be something like:
<div class="product-vendor">{{ product.vendor }}</div>
  • Wrap the vendor information with an anchor tag (<a>) to make it clickable. Modify the code as follows:
<a href="/collections/vendors?q={{ product.vendor | handle }}">{{ product.vendor }}</a>
  • Save and preview

 

Hope this can help. Let us know if you need any further support

Ali Reviews team.

- Was my answer helpful? Please hit Like or Mark it as solution!
- Ali Reviews - The must-have Shopify app that empowers you to effortlessly collect, display, and manage product reviews.
- Start your FREE trial today!
rkellhunt
Tourist
6 1 2

Thank you so much!!

Jlopezshopy
Visitor
1 0 0

Hi, We wanted to make the vendor clickable too from the product page that will take it to that product collection page. We are using Vision Theme. 

Ahmedsalah89
Shopify Partner
12 0 4

hi i hope help me to do it for my theme.  [REDACTED]

 

 
Ahmedsalah89
Shopify Partner
12 0 4

i want the vendor name can be as clickable . when user press the vendor name he go to his page product

Ahmedsalah89
Shopify Partner
12 0 4

you send permission as developer for me??

Ahmedsalah89
Shopify Partner
12 0 4

7876

Ahmedsalah89
Shopify Partner
12 0 4

i send in your email