Changing Default WooCommerce Product Image
I recently noticed that whenever I didn’t set a product image, a default WooCommerce product image was displayed.
Annoying, right? A question came to mind, so I explored deeply to see if we could replace this default product placeholder in WooCommerce by default. Luckily, it is possible and very simple.
Just go to WooCommerce > Settings and click on the Products tab. From there, you can replace the default product placeholder image.
It’s easy, right? But how can you find the image ID for the image you want to use to replace the default one?
In your WordPress dashboard, go to Media > Library, click edit on the media item, then look into your address bar. In the address bar, you will see in the URL post=ImageID
, just like in the example below.
And that’s it. No snippets or custom functionality needed. Your default image placeholder is now different. Here’s mine.
Give it a try, and enjoy a more customised WooCommerce store!