Main image change

Good morning to all

I am using the Impact theme and I don’t understand why it puts me as the first image on the product page, the one of the variant, whereas I would like to put the one I placed first.

Can anyone tell me how I can make it so that the variant image does not appear as the main image?

Thank you

Hi @Inkd911 ,

In the Impact theme, the first image displayed is often tied to the selected variant by default. Go to your theme’s customization settings: Online Store > Themes > Customize, and check under Product Page or Variants for an option to control this function.

If the theme doesn’t provide this option, you might need to edit the code. In the product-template.liquid file, look for the section that handles product images and variant selection. You’ll need to adjust or remove the part that changes the image based on the selected variant.
Go to Online Store > Themes > Actions > Edit Code
Then look for product-template.liquid or main-product.liquid and find the image-switching script connected to variant changes. Modify this part so that the image doesn’t switch automatically.

Maybe there is an app to help you control variant image displays.

Hope it helps

I thank you for your answer.

I tried looking for some entries as you said but not being much of a code expert I can’t figure out which one I should delete or change.

Thanks

Hi @Inkd911 ,

No problem, you can always hire an outsourced developer to do all the tasks you need to do. My team does it whenever we have such kinds of issues.