• Resolved Clement Gonnet

    (@renoovodesign)


    Hi,

    The emails sent out embed the {product_list}. However, the product thumbnail does not appear. I’ve checked the rendered HTML and it looks like the image source doesn’t have the http protocol in the URL.

    <img width="40" height="40" src="//domainname.com/wp-content/uploads/2017/06/photo-150x150.jpg" />

    Viewing the email on Mail for Mac, the protocol is automatically replaced with file:// which links to the user’s local file system and not the website url.

    Please could you look into this soon?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor rymera01

    (@rymera01)

    Hi Clement,

    Thanks for getting in touch!

    Easy Review Reminder uses WooCommerce’s function to get the images. It seems they don’t include the protocol in the function, thus creating this kind of issue. I’ll raise this issue so our developers can take a look at it.

    For now, you can try to add the following code in your functions.php file:

    add_filter( 'err_reminders_info_product_list', 'my_err_fix_email_thumbnail', 99, 5 );
    function my_err_fix_email_thumbnail( $rows, $reminderID, $userID, $orderID, $order ){
        return str_replace( '//', (is_ssl()) ? 'https://' : 'https://', $rows);
    }

    This code will try to replace the missing protocol with your current protocol.

    I hope this helps ??

    Thanks,
    Okky

    I have the same issue and after some research noticed that {product_list} results in a https link to load the thumbnail, which I am not using. Therefore the image is not loaded and Outlook stops responding while trying to load the thumbnails over and over again. Outlook isn’t smart enough to replace a missing protocol(?) and for some reason it tries to load the thumbnails over https.

    • This reply was modified 7 years, 8 months ago by vapefuel.
    • This reply was modified 7 years, 8 months ago by vapefuel.
    • This reply was modified 7 years, 8 months ago by vapefuel.
    Plugin Author Josh Kohlbach

    (@jkohlbach)

    Hi Folks,

    We just released 1.2.4 which fixes this issue + a few other bugs.

    Please update at your leisure ??

    Thanks,
    Josh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Product thumbnail not showing on email’ is closed to new replies.