What is placeholder,png and why is it tremendous? (2 posts)

  1. pwizard
    Posted 2 years ago #

    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



  2. helgatheviking
    Posted 2 years ago #

    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' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic