I have overridden woocommerce customer-completed-order.php


if ( ! defined( 'ABSPATH' ) ) {

do_action( 'woocommerce_email_header', $email_heading, $email ); 

<p><?php printf( __( "Your recent order has been completed.<br> ,'woocommerce' ) ); ?></p>

How to add image to the end of the email?

I tried

<?php echo wp_get_attachment_image( 1096 ,add_image_size('logo-size', 219,98) );  ?>

but only white space is displayed in the received email.

<?php echo wp_get_attachment_image( 1096); ?>

displays it in a cropped size.

Read more here: Image is not displayed in overridden woocommerce email


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: