Re: How to make the product image on collection page clickable?

Solved

How to make the product image on collection page clickable?

hallaqrosy
Tourist
6 0 0

Hello,
How to let customers able to click on the image to see the product page?

Currently, the product title is only clickable. I need the website to respond if customers click on the image and show the product page.

I need to make both clickable. Image and title. Not only title

my website: https://rosy.zone/collections/face

see attached.

 

Accepted Solution (1)
WoodyDev
Shopify Partner
578 115 194

This is an accepted solution.

Perfect!

 

Please check your site for me!

 

If you head into your 'Edit Code' section and select the 'product-card-grid.liquid file, you will see where I added the code I mentioned in a previous comment 🙂

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder

View solution in original post

Replies 12 (12)

WoodyDev
Shopify Partner
578 115 194

Hi and welcome!

 

If you are familiar with coding I can send you the code required to do so, if not, please post your STORE.myshopify.com and I will request access and make this change for you 🙂

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
hallaqrosy
Tourist
6 0 0

Hello,
Thanks for your reply.
Appreciate sharing the code. I think I'll be able to amend it if you provide some explanation.

If I couldn't do. I'll get back to you

With many thanks.

 

hallaqrosy
Tourist
6 0 0

Hello,
Thanks for your reply.
Appreciate sharing the code. I think I'll be able to amend it if you provide some explanation.

If I couldn't do. I'll get back to you

With many thanks.

WoodyDev
Shopify Partner
578 115 194

Sure thing!

 

You will need to go to your card-product.liquid file and look for the follow section of code:

 

example.png

 

At the start of this code (before the <div) put the following:

 

<a href="{{ card_product.url }}">

 

then after the </div> put </a>

 

This should make your images clickable.

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
hallaqrosy
Tourist
6 0 0

I couldn't do this 😅

Would you please help with it?
This is my store URL:
https://vesv.myshopify.com/

 

WoodyDev
Shopify Partner
578 115 194

Sure thing!

 

Just sent the request through, once I've done it, I'll tell you where to look so you can see the change I made for future reference 🙂

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
hallaqrosy
Tourist
6 0 0
Done.
I’ve accepted your invitation
WoodyDev
Shopify Partner
578 115 194

This is an accepted solution.

Perfect!

 

Please check your site for me!

 

If you head into your 'Edit Code' section and select the 'product-card-grid.liquid file, you will see where I added the code I mentioned in a previous comment 🙂

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
hallaqrosy
Tourist
6 0 0

Thank you very much
Yes, this is working perfect 

WoodyDev
Shopify Partner
578 115 194

You're very welcome!

 

Please take a moment to read through my signature below, it really helps me out ❤️

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
Greer_George
Tourist
12 0 2

hey @WoodyDev I've been trying to find this liquid file for ages now...wondering if it would be different for the dawn theme?? Would really appreciate your help 🙏

volo2552
Tourist
7 1 0

Hey, I am having the same issue, where did you put that code in the product-card-grid.liquid file?