Welcome to the Liquify Community

Updated 3 weeks ago

Alternate Image on Product Hover

As I understand, the image is sourced through this: product.featured_image | img_url: 'master' but what would the img_url be for let's say an alternative.
J
d
4 comments
You can access the product image array like so: product.images[1] | img_url: 'master', product.images[2] | img_url: 'master' etc. So 1 in that case would be the second image. Or you can create a separate metafield for that image if you dont want it in the image array :)
thank you @Jan
You're welcome. Let me know if you have any further questions :)
Add a reply
Sign up and join the conversation on Discord