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.
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.
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!
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’ %}
And in the featured-product.liquid file I see
{
“type”: “checkbox”,
“id”: “show_vendor”,
“label”: “Show vendor”
},
Hi @curiousjoe ,
Please send me the code of product-template.liquid file, I will guide you to change it
@Litos The document is over 1500 words and over 800 lines of code. Should I attach it here as a text file?
Hi @curiousjoe ,
You just need to find ‘show_vendor’ and then send me the code snippet here, I will guide you in detail
That is what I see
{
“type”: “checkbox”,
“id”: “show_vendor”,
“label”: “Show vendor”
},
Hi @curiousjoe ,
You need to find the code at product-template.liquid file, it will need to change the code here
That was from the product-template.liquid file.
It’s the only place that has the word “vendor” in it.
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.
DM Sent with the code. Thank you for your help!
@Litos Are you still able to help me out?
Hi @curiousjoe ,
Please go to product-form.liquid file, find ‘product.vendor’ and change code here:
Code:
product.vendor
=>
product.vendor | link_to_vendor
Hope it helps!
Thank you so much! You’re a life saver!