Get the variant id of the featured image product

goodquestion
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
Jason
Shopify Expert
10275 144 1943

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? 

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes