how to show 1 image on product page instead of 2

bakyboy
Excursionist
49 0 1

Hey, I have a product which as 2 pictures (1 a picture and the second a GIF) in order for the Hover effect to work.

then with a code that was given to us, on the homepage the same product is featured only with the first image, and down on the homepage it shows again with the hover and the gif.

on the product page it self it shows both images, the picture and the gif. and I don't want it to show the gif, how is this possible to eliminate? that on the product page it self it will only show the first image of the product.

0 Likes
florinanghel
Shopify Partner
128 17 23

There isn't an option for that but you could edit the liquid code outputting the images on product page to not display that image based on its alt value / name / id.

0 Likes
bakyboy
Excursionist
49 0 1

how can I do that? what do I need to look for?

0 Likes
florinanghel
Shopify Partner
128 17 23

That depends on theme, it can be in product.liquid or in a section or a  snippet. If you can do a global search look for something like

{% for image in product.images %}

 then post the surrounding code here.

0 Likes
bakyboy
Excursionist
49 0 1

hey, im using the Showcase Theme
can't seem to find that line of code

0 Likes
florinanghel
Shopify Partner
128 17 23

It looks like its a paid theme so I can't check.

0 Likes
bakyboy
Excursionist
49 0 1

maybe can you help me as a Shopify partner? I can link you to my store?

0 Likes
Natztech
Shopify Partner
1280 355 891

Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.

Want to theme customize contact us E-mail : natztech2312@gmail.com
If helpful then please Like and Accept as Solution

PageFly Advanced Page Builder- My favorite drag and drop page builder - Visit the Shopify app store
0 Likes
bakyboy
Excursionist
49 0 1

https://century8mm.com there you go 

0 Likes