How can I hide the main product image on a specific product?

Hello, could someone please show us how to hide the main product image of a specific product? We have an app that creates personalized product images for the customers, would be great if we could somehow remove the old classic Shopify product picture. Please see the image below.

Link: https://swish.eu/products/swish-flooring-elite-outdoor-tiles (only for this product)

Your help would be really appreciated! Certainly, a like & solution from us is guaranteed!

Kind regards,

Hello @swishlatvija

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before

{%  if product.handle contains 'swish-flooring-elite-outdoor-tiles' %}
    
        {%  endif %}

I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

1 Like

Hi @GemPages ,

Sorry, but the code didn’t work - the product picture is still there. Perhaps any else suggestions?

Kind regards,