How can I hide variant images on a product page?

Solved

How can I hide variant images on a product page?

YouHaveNieds
Visitor
2 0 0

Hello great people! 

I have seen a couple topics on this already, but can't seem to make it work.

Such as this one : https://community.shopify.com/c/Shopify-Design/Listing-Way-to-NOT-display-variant-photos-if-not-sele...

Theme: Minimal

What I want is to have the customer choose variants from the dropdown list on the product page and the image to change based off what he choses. But I dont want to have all my variant images showing because it creates a very unprofessional look to the page since there are about 20  different images below the text. I want to remove these pictures. 

I tried deleting them from media and just adding them on the variants but they automatically add themselves to the media section of the product. 

Thanks for your help! 

Accepted Solution (1)

Propero
Shopify Partner
897 101 160

This is an accepted solution.

@YouHaveNieds,

I think that thread explains it pretty well the code which needs to be removed, In case you still need support send me a DM or email me at lokendra@propero.in 

- Was my reply helpful? Click Like or Click Accept as Solution
To hire: email us at shopify@propero.in
checkout our app https://apps.shopify.com/picamaze

View solution in original post

Replies 3 (3)

Propero
Shopify Partner
897 101 160

This is an accepted solution.

@YouHaveNieds,

I think that thread explains it pretty well the code which needs to be removed, In case you still need support send me a DM or email me at lokendra@propero.in 

- Was my reply helpful? Click Like or Click Accept as Solution
To hire: email us at shopify@propero.in
checkout our app https://apps.shopify.com/picamaze
EssentialSmoke
Visitor
1 0 0

I am facing the same issue however I am using the Boundless Theme.

When i select a variant from the drop down menu it shows 2 images above the product description and the rest below it. I have searched everywhere online and can't seem to find a fix for my theme.

Any help would be greatly appreciated!

Jason0707
Tourist
6 0 2

Hi @EssentialSmoke, @YouHaveNieds and all who has similar problems.

 

Rubik Variant Images app helps its users to hide variant images and show only related variant's image once its selected.

 

You may want to check it out.

 

Hope it helps!

Best, 

Jason