How can I remove product thumbnails while still offering the variants?

Highlighted
New Member
4 0 0

Please do it to me too !!!
page: medsillo-moda-branca.myshopify
pass; 123456

0 Likes
New Member
3 0 0

  Can you do the same to my store, please. The site is imalwaysinide.com

0 Likes
Highlighted
Excursionist
25 1 4

Hi Joshua_Kraus,

I want the same thing. Could you share the code for this solution please. I would be so thankful, if you have the solution for this. Thanks in advance.

0 Likes
Highlighted
Shopify Partner
5 0 0

i already resolved it

0 Likes
Highlighted
Excursionist
25 1 4

Can you share what the solution you got?

Thanks

0 Likes
Highlighted
New Member
2 0 0

Can you please help me with same ?

0 Likes
Highlighted
Tourist
7 0 2

I need the same help please!  How do I remove my variant images.  I don't understand why it displays them all be default.  

0 Likes
Highlighted
Tourist
5 0 2

Tim's suggestion worked great in the Minimal template with sections. I edited the sections product-template.liquid at lines 75 & 126.


@tim wrote:

Hi Josh, 

you may do the opposite -- keep displayed only those thumbs which are not variant images. For this you need to open you product.liquid  template, locate this code (two places -- around lines 24-30 and around lines 47-53) 

  {% for image in product.images %}
    <li class="grid__item ...
          ...
    </li>
  {% endfor %}

and add a condition, like this 

  {% for image in product.images %}
    {% unless image.attached_to_variant? %}
      <li class="grid__item ...
          ...
      </li>
     {% endunless %}
  {% endfor %}

UPD. Edited to better highlight the change


 


 

notamartha
1 Like
Highlighted
New Member
1 0 0
Hey, I was wondering if you knew the necessary code to do the same task, but for the Brooklyn theme, please?
Thank you
0 Likes
Highlighted
New Member
1 0 0

Hello,

 

I have a website using the Venue shopify theme. Is there anyway to remove the variant images under the main photo? I only want the variant images to show up/change when the color button is selected. 

 

Thanks.

0 Likes