How to make first product picture as the default image?

jyu1
Tourist
6 0 1

Hello there,

How do I make the product page show the first photo as default rather than the variant photo? When I click on the product the first picture that shows up in product page is the variant picture. I want to make the first picture show up first not the variant. 

 

I'm using Editions theme.

 

Thanks in advance!

0 Likes
paramSoft
Shopify Partner
1411 230 613

Please place this code

<img src="{{ product.featured_image | img_url: '2000x'}}" />

 

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On : parambabla.soft@gmail.com
0 Likes
jyu1
Tourist
6 0 1

Thanks for your help. Where do I place this code?

0 Likes
paramSoft
Shopify Partner
1411 230 613

 In product-template.liquid in section, find the code of product. image  put there 

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On : parambabla.soft@gmail.com
0 Likes