Making Vendor A Clickable Link On Product Page For Studio Theme

Hi all,

Does anybody know how we can make the vendor a clickable link in Studio Theme?

Thank you!

Hello @hongsisters

Go to the online store >Theme>Edit code>Sections>main-product.liquid

The location of the code for that text needs to be found. Most likely, it will be in

{%- assign product_form_id = 'product-form-' | append: section.id -%}

Following that, find

Add below the code in


 {{ product.vendor | link_to_vendor }}

Once that’s done, you can check your product page.

Hello @hongsisters ,
Please share your store URL.

Thanks! It appears as an additional lines. eatplaywoof.sg

Hello @hongsisters

Please define your queries if you have any.

Hi Oscprofessional,

It does not seem to work as expected as shown in the screenshot above. I am not sure how to edit the part in yellow to include the code you have provided.

Hello Again @hongsisters

Please refer to the attached screenshot and Also given code as well.

Go to the online store >Theme> Edit code> Sections> main-product.liquid

{%- assign product_form_id = 'product-form-' | append: section.id -%}

        {%- for block in section.blocks -%}
          {%- case block.type -%}
            {%- when '@app' -%}
              {% render block %}
            {%- when 'text' -%}
             

 {{ product.vendor | link_to_vendor }}