Display Product Image in WooCommerce Order Emails

In previous versions of WooCommerce, the product image was displayed in the order emails sent to your customers. Recently, this was disabled by default.

Fortunately, it’s easy to enable again; simply add the following to your theme’s functions.php file:

Now when order emails are sent, each product should also have a thumbnail displayed.


  1. tomas palurik says:

    hi, this piece of code works just partly for me, as it doesn´t show a product image, just a blank/missing image in the email. Is there anyway how to fix it ? thanks tomas

  2. bhim says:

    not show image in mail ..it show the link to click display image in the link

  3. Hi, it works! Thank you so much 🙂

  4. Chibi says:


    i struggle so hard with a similar issue
    I try to display a product image in the order pop-up(modal preview) in the orders page but i didnt find how to do it.. do you have an idea?

  5. 2El Eşya says:

    working wp 5.1.1 + woo 3.6.2 , thank u so much

  6. Elsy T. says:

    Hello James! Thank you very much for this code! It was the only one that works great! I found others but they didn’t work for me! Just one little question: Is there a way to increase the size of these images? Is there a little code to make the trick? I’ll really appreciate!
    Thank you again! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *