Hide Thumbnail images for particular Type of Product

Tourist
7 0 0

Hello,

I use district theme, it has inbuilt capacity to hide Thumbnail images. However, it get applies for all the products/collections in the store. I'm looking for hiding the thumbnail images only for a particular "type" of products and not for all products. Can anyone please guide me on this please.

 

Regards,

Ishani

0 Likes
Shopify Partner
424 79 90

Hello Ishani,

You can use this

{{ product.type }}

And if you want to hide Thumbnail images only for a particular "type" use this

{% if product.type == 'product-type-here' %}
  // leave blank or do your stuff
{% else %}
// your code
{% endif %

Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
1 Like
Tourist
7 0 0

Hi Guleria

 

Thanks for your reponse, where to add this code. 

Appreciate your help.

 

Regards,

Ishani

0 Likes