• I tried removing this line `else {

    echo apply_filters( ‘woocommerce_single_product_image_html’, sprintf( ‘<img src=”%s” alt=”Placeholder” />’, wc_placeholder_img_src() ), $post->ID );

    }` from \mytheme\woocommerce\single-product\product-image.php but it still shows the placeholder.png. I would like to know how to remove it and/or change the location of the placeholder.png to future proof the changes.

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Thread Starter jwgarrett

    (@jwgarrett)

    I found where to change the image ../plugins/woocommerce/includes/wc-product-functions.php. Now I just need to know how to exclude this from being shown on the product-image.php page. If there is an image I want to show it, but if not then I want to NOT show anything.

Viewing 1 replies (of 1 total)
  • The topic ‘Don't display the image placeholder’ is closed to new replies.