{"id":55971,"date":"2015-10-19T03:39:45","date_gmt":"2015-10-19T07:39:45","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=55971"},"modified":"2015-12-08T04:53:05","modified_gmt":"2015-12-08T09:53:05","slug":"woocommerce-how-to-remove-products-images-placeholder","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/woocommerce-how-to-remove-products-images-placeholder.html","title":{"rendered":"WooCommerce. How to remove products images placeholder"},"content":{"rendered":"<p>This tutorial will show you how to <strong>remove product images placeholder<\/strong> in your WooCommerce store.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=vwSxShaxJLg?width=1280&amp;height=720\" rel=\"prettyPhoto\">WooCommerce. How to remove products images placeholder<\/a>\r\n<p>Sometimes, items in your store do not require product images. But if a product does not have an image associated with it, then WooCommerce automatically adds default placeholder image to the product.<\/p>\r\n<p><strong>Default placeholder image<\/strong> looks like this:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_1-300x241.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_1\" width=\"300\" height=\"241\" class=\"aligncenter size-medium wp-image-55972\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_1-300x241.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_1-150x121.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_1.png 620w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>Let&#8217;s find out how to <strong>remove placeholder images<\/strong> for products.<\/p>\r\n\r\n<ol>\r\n<li><p>Access your server, using any <strong>ftp client<\/strong> or <strong>FileManager<\/strong>:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_2-300x103.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_2\" width=\"300\" height=\"103\" class=\"aligncenter size-medium wp-image-55973\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_2-300x103.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_2-150x51.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_2.png 508w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Navigate to <strong>&#8216;wp-content\/themes\/themeXXXXX\/includes&#8217;<\/strong> folder, where <strong>XXXXX<\/strong> is the number of your theme.<\/p><\/li>\r\n<li><p>Open <strong>&#8216;custom-function.php&#8217;<\/strong> file with any <strong>php\/text editor<\/strong>:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_3-300x138.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_3\" width=\"300\" height=\"138\" class=\"aligncenter size-medium wp-image-55974\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_3-300x138.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_3-150x69.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_3.png 859w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Add the following line to the very beginning of the file, right under <strong>&lt;?php<\/strong> tag:<\/p>\r\n\r\n<pre class=\"brush:php\">remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );<\/pre>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4-300x49.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_4\" width=\"300\" height=\"49\" class=\"aligncenter size-medium wp-image-55975\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4-300x49.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4-150x25.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4-1024x168.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_4.png 1150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Refresh your website to see the changes.<\/p><\/li>\r\n<\/ol>\r\n\r\n<p>This removes the product image placeholder from the product page, but can leave the column intact, pushing the page content over:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_5-300x157.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_5\" width=\"300\" height=\"157\" class=\"aligncenter size-medium wp-image-55976\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_5-300x157.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_5-150x79.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_5.png 1006w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n<p>If this happens, you&#8217;ll have to fix the styling issue with some <strong>custom CSS<\/strong>. The exact rule you use, and how you make this modification will depend on your particular theme.<\/p>\r\n<ol>\r\n<li><p>We&#8217;d recommend that you use <a href=\"\/help\/firebug-mozilla-firefox-plugin.html\" target=\"_blank\">FireBug<\/a> plugin for FireFox browser to inspect elements and edit CSS.<\/p><\/li>\r\n<li><p>Basically, you will just need to adjust the width value for the product description column:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6-300x158.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_6\" width=\"300\" height=\"158\" class=\"aligncenter size-medium wp-image-55977\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6-300x158.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6-150x79.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6-1024x538.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_6.png 1259w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Change the width value to <strong>&#8216;100%&#8217;<\/strong>:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7-300x144.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_7\" width=\"300\" height=\"144\" class=\"aligncenter size-medium wp-image-55978\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7-300x144.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7-150x72.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7-1024x490.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_7.png 1260w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Copy <strong>new rule<\/strong> declaration:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8-300x167.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_8\" width=\"300\" height=\"167\" class=\"aligncenter size-medium wp-image-55979\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8-300x167.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8-1024x570.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_8.png 1096w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Paste it to the <strong>Custom Css<\/strong> box of the <strong>Cherry Options<\/strong>:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9-300x176.png\" alt=\"WooCommerce_How_to_remove_products_images_placeholder_9\" width=\"300\" height=\"176\" class=\"aligncenter size-medium wp-image-55980\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9-300x176.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9-150x88.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9-1024x602.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/WooCommerce_How_to_remove_products_images_placeholder_9.png 1180w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li><p>Refresh your website to see the changes.<\/p><\/li>\r\n<\/ol>\r\n<p>This is the end of the tutorial. Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=vwSxShaxJLg?width=1280&amp;height=720\" rel=\"prettyPhoto\">WooCommerce. How to remove products images placeholder<\/a>","protected":false},"excerpt":{"rendered":"<p>This  tutorial will show you how to <strong>remove product images placeholder<\/strong> in your WooCommerce store.<\/p>\n","protected":false},"author":37,"featured_media":55985,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1556],"tags":[537,1880,542,642,2418],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55971"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=55971"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55971\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/55985"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=55971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=55971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=55971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}