Answer the question
In order to leave comments, you need to log in
Why is the product image not showing in Woocommerce emails?
Hello,
email-order-details is set to 'show_image' => true, but the image is not displayed in emails to the client, what could be the reason?
<?php
echo wc_get_email_order_items( $order, array( // WPCS: XSS ok.
'show_sku' => $sent_to_admin,
'show_image' => true,
'image_size' => array( 100, 100 ),
'plain_text' => $plain_text,
'sent_to_admin' => $sent_to_admin,
) );
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question