How to access certain images by the variant they are assigned to in liquid code

Hi @style-store32 ,

You can refer this one https://shopify.dev/docs/api/liquid/objects/product

  • Use card_product.variants → to get all variant

Refer this article to get image of varaint https://shopify.dev/docs/api/liquid/objects/variant

  • Use variant.image
1 Like