Support » Plugin: WooCommerce » What is placeholder,png and why is it tremendous?

  • Let me preface this by saying I’m not using a Woocommerce theme. However, for the most part it integrates well into my existing theme with one exception – a placeholder.png image.

    On the shop and product pages, it is tremendous. What is it and why does it look like an envelope?

    How do I get rid of it, shrink it, or replace it? Still trying to figure out exactly what it is meant to do/be

    thanks

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • It is the image for when you don’t set a featured image for your product. If you set a featured image, that will show instead. If you don’t want to show any image then you need to remove that function from its hook.

    function kia_remove_product_image(){
    	remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
    }
    add_action( 'woocommerce_before_main_content', 'kia_remove_product_image' );
Viewing 1 replies (of 1 total)
  • The topic ‘What is placeholder,png and why is it tremendous?’ is closed to new replies.