Shopify themes, liquid, logos, and UX
How can i make the product image in collection page clickable and send you to the product page.
https://jaccomcollection.com/collections/all
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hello @ArnauP
To make the product images on a collection page clickable so that they direct users to the respective product pages, you need to wrap each product image with an anchor (<a>) tag that links to the product page.
Here’s how you can do it:
Locate the product image HTML code, which may look like this:
Wrap the image in an <a> tag that links to the product page:
Here’s an example of how the code might look inside the loop:
This approach ensures that each product image on the collection page acts as a link to its detailed product page, improving navigation and user experience.
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Look at the liquid code for the page and wrap the html shown below with the anchor tag. Right now only the product title text is wrapped with an "<a href=..."
<div class="card card--card"></div>
This is an accepted solution.
Hello @ArnauP
To make the product images on a collection page clickable so that they direct users to the respective product pages, you need to wrap each product image with an anchor (<a>) tag that links to the product page.
Here’s how you can do it:
Locate the product image HTML code, which may look like this:
Wrap the image in an <a> tag that links to the product page:
Here’s an example of how the code might look inside the loop:
This approach ensures that each product image on the collection page acts as a link to its detailed product page, improving navigation and user experience.
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024