miriam-m
11/25/2016 - 8:39 AM

Function to hide the placeholder image in the shop

Function to hide the placeholder image in the shop

function woocommerce_template_loop_product_thumbnail() {
    global $post;
    if ( has_post_thumbnail() )
          echo get_the_post_thumbnail( $post->ID, 'shop_catalog' );
}