How can I make vendors clickable in Icons theme?

Solved

How can I make vendors clickable in Icons theme?

curiousjoe
New Member
18 0 0

I am currently running the Icons theme. I wish there was an easier way to make the vendors clickable.

 

I searched for past results, but the page must have been archived or something.

Accepted Solution (1)
Litos
Globetrotter
688 169 150

This is an accepted solution.

Hi @curiousjoe,

Please go to product-form.liquid file, find 'product.vendor' and change code here:

Screenshot.png

Code:

product.vendor

=>

product.vendor | link_to_vendor

Hope it helps!

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.

View solution in original post

Replies 13 (13)

Litos
Globetrotter
688 169 150

Hi @curiousjoe,

Are you referring to vendors at the product page?

Please go to Actions > Edit code > Sections > main-product.liquid file, find 'product.vendor' and change code:

{{ product.vendor | link_to_vendor }}

Hope it helps!

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

Yes, I am referring to the vendors on the product page.

 

I am not seeing product.vendor in the main-product.liquid file

 

The following is all the code in the product.liquid file

 

{% section 'product-template' %}
{% section 'product-recommendations' %}

<!-- DRIP_PRODUCT_TRACKING_V1 -->
<script text="text/javascript">
var _dcq = _dcq || [];
_dcq.push(['recordProductView', {{ product|json }}, {{ product.collections|map:'id'|json }}, '{{shop.currency}}', '{{ product.url }}']);
</script>
<!-- END_DRIP_PRODUCT_TRACKING_V1 -->

 

And in the featured-product.liquid file I see 

{
"type": "checkbox",
"id": "show_vendor",
"label": "Show vendor"
},

 

Litos
Globetrotter
688 169 150

Hi @curiousjoe,

Please send me the code of product-template.liquid file, I will guide you to change it

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

@Litos The document is over 1500 words and over 800 lines of code. Should I attach it here as a text file?

Litos
Globetrotter
688 169 150

Hi @curiousjoe,

You just need to find 'show_vendor' and then send me the code snippet here, I will guide you in detail

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

That is what I see

 

{
"type": "checkbox",
"id": "show_vendor",
"label": "Show vendor"
},

Litos
Globetrotter
688 169 150

Hi @curiousjoe,

You need to find the code at product-template.liquid file, it will need to change the code here

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

That was from the product-template.liquid file.


It's the only place that has the word "vendor" in it.

Screen Shot 2022-12-21 at 10.28.53 AM.png

Litos
Globetrotter
688 169 150

Hi @curiousjoe,

Can you create the file and send me the full code? I'm referring to liquid code, not Json.

I will check it.

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

DM Sent with the code. Thank you for your help!

curiousjoe
New Member
18 0 0

@Litos Are you still able to help me out?

Litos
Globetrotter
688 169 150

This is an accepted solution.

Hi @curiousjoe,

Please go to product-form.liquid file, find 'product.vendor' and change code here:

Screenshot.png

Code:

product.vendor

=>

product.vendor | link_to_vendor

Hope it helps!

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
curiousjoe
New Member
18 0 0

Thank you so much! You're a life saver!