Hello! I’m using the Minimal theme and would like to make the vendor (which I input as my product brand) a clickable link, such that it redirects to the product brand page if clicked on.
Any help would be greatly appreciated!
Hello! I’m using the Minimal theme and would like to make the vendor (which I input as my product brand) a clickable link, such that it redirects to the product brand page if clicked on.
Any help would be greatly appreciated!
thanks for post
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.
That worked perfect - thank you so much!
it’s my pleasure to help us
Hi @KetanKumar ! I’m working with the Dawn theme (OS 2.0) and the code shows like this:
{{ product.vendor | json }}
I tried your suggestion to change it to {{product.vendor | link_to_vendor}} and it didn’t work. How can I workaround this?
I got the same problem in dawn theme too!
i have the same problem with dawn template. Can i please ask your help ? Thanks
This didn’t Work for me ![]()
I changed the coding as per your instructions but it’s showing the below (and not making Brand names clickable)
“brand”: {
“@type”: “Thing”,
“name”: {{ product.vendor | link_to_vendor }}
Would you mind letting me know what I am doing wrong. Thank you
Hi, i just tried this edit but got the following error: “The metafield filter in the dynamic source ‘product.vendor | link_to_vendor’ is not supported.”
Do i understand corretly that i have to add a product metafield definition? If so, how and what would you suggest? Thanks!