Get the variant id of the featured image product

Highlighted
Shopify Partner
2 0 0

Hi, i need to get the id of the branding image (like a : {{product.featured_image.variant.id}} or a {{product.featured_image.variant.sku}} ), how can get this informations ?

 

Thank you in advance !

0 Likes
Highlighted
Shopify Expert
10007 116 1817

The product image ID is a property available in Liquid already.

https://help.shopify.com/en/themes/liquid/objects/image#image-id

 

What are you trying to do that would stop you from accessing that? 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes