Add a liquid object in a hyperlink href

Highlighted
Shopify Partner
8 0 1

Hi,

 

I need to add a link at the end of each product description that will direct client to an external page with a 3d view of the product.

 

I would add a line to my product.template file, but I don't know how:

 

I need something like this:

 

DISCOVER MORE<a href="https://example/{{ product.sku }}.com">HERE</a>

 

I also would need to use just the first 4 digits of my product SKU ... I believe with some TRUNCATE code...

 

Is someone able to help me?

 

Thank you!

0 Likes