Link image and title on home page to a product

Hi there,

I would like to link the title and image of my product “Peeling Handschuh” on my website www.taneraskin.com to the page https://taneraskin.com/products/peeling-handschuh .

In this section: So that when you click on the title or image, it leads you to the product.

What code do I have to add and where?

Thank you for your help.

Best regards,

Isabelle

@isabellemaria

For this purpose you need to customize the theme files like featured-product.liquid like something i did below.

Online Store > Theme Edit > Edit Code > Section > featured-product.liquid

{%- when 'title' -%}
                ## 
                  {%- if product.title != blank -%}
                    {{ product.title | escape }}
                  {%- else -%}
                    {{ 'onboarding.product_title' | t }}
                  {%- endif -%}
                

////////////////to this

{%- when 'title' -%}
                ## 
			
                  {%- if product.title != blank -%}
                    {{ product.title | escape }}
                  {%- else -%}
                    {{ 'onboarding.product_title' | t }}
                  {%- endif -%}
		
                

Hi there,

I tried it but it doesn’t work… It just makes the product title disappear…

please add again and let me know i will figure it out.