Final custom product image no longer sending on email
-
Hello. After much head scratching, I’ve had to ask for help. I’m not sure if it is due to the latest update to the plugin but last week I was able to attach an image of the configurated product via email using:
function w3p_add_image_to_wc_emails( $args ) {
$args[‘show_image’] = true;
$args[‘image_size’] = array( 100, 50 );
return $args;
}add_filter( ‘woocommerce_email_order_items_args’, ‘w3p_add_image_to_wc_emails’ );
very recently, the images have stopped being included and are replaced with a ‘blank.gif’ placeholder. The same is true when orders are viewed through the account page on the site.
The image IS being generated and saved to the media library and it is visible in the checkout but I’m assuming that the email being generated on checkout isn’t pointing to the image in the media library (which is why I get the ‘blank.gif’).
The reason why I think the Configurator might be the issue is that when I untick the ‘Show configuration image in cart and checkout’ in the configurator settings. All appears to be working correctly.
Is there anything I’m missing or that you could advise to help?
Many thanks.
The page I need help with: [log in to see the link]
- The topic ‘Final custom product image no longer sending on email’ is closed to new replies.