title: WooCommerce; Remove Product Image from Shop page and Single-product page
body: <p>I'm trying to conditionally remove the product image from both the shop page and the single-product page in WooCommerce. It is removing the image from the single-product but not the product on the /shop page.</p>
  
  <pre><code>//* Conditionally remove the Featured Product Image from the single-product page
  function remove_gallery_and_product_images() {
  if ( is_product() &amp;&amp; is_single(array(1092, 1093, 1094) ) ) {
    remove_action( 'woocommerce_before_single_product_summary', 
  'woocommerce_show_product_images', 20 );
    add_filter('body_class', 'no_prod_imgs_class');
    }
  }
    add_action('template_redirect', 'remove_gallery_and_product_images');
  
  //* Add CSS for removed featured images from multiple specific product detail 
  pages
  function no_prod_imgs_class($classes) {
  $classes[] = 'no-product-images';
  return $classes;
  }
  </code></pre>