• Resolved bobfelstead

    (@bobfelstead)


    Hi there,

    Good plugin easy to customise HTML emails (if you know what you’re doing).

    I have a single issue which relates to the follow-up email , specifically the WCAR Abandoned Product Details table {{cart.product.table}}

    The issue lies with Microsoft Outlook which doesn’t play with this table which overflows the container as the image is rendered at full size. Within the output code everything except the image dimension is expressed as a percentage (the way outlook likes things) – BUT the image has dimensions of 42px x 42px which outlook doesn’t like. In fact Outlook renders these at 100% size, hence the table overflows the container. This appears in admin-email-templates.js but i’m struggling with the <!–[if mso]> statements which appear to be ignored for the Abandoned Product Details table. Any suggestions or help?

    Best

    Bob

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter bobfelstead

    (@bobfelstead)

    The issue resides in another file, modules > cart-abandonment >class-cartflows-ca-cart-abandonment.php.

    The offending code is at line 1803:

    <td style="' . $style . '"><img class="demo_img" style="' . $product_image_style . '" src="' . esc_url( get_the_post_thumbnail_url( $product->get_id() ) ) . '"></td>

    the following needs replacing: . $product_image_style . with

    <td style="' . $style . '"><img class="demo_img" style="' width="42" height="42" " src="' . esc_url( get_the_post_thumbnail_url( $product->get_id() ) ) . '"></td>

    Make sure that you only specify the height and width without the px which Outlook doesn’t like. Change this to whatever dimension you like.

    Not sure what line 1867 actually does or whether or not it is actually used.

    Best

    Bob

    Thread Starter bobfelstead

    (@bobfelstead)

    Lines 1833 to 1908 (including line 1867) are for the admin inteface in the back-end.

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @bobfelstead,

    Thank you for reaching out to us.

    The change you have suggested will render in the admin backend area.
    Line of codes refers to the product image height and width suitable to the WordPress dashboard.
    Still, we will look into it.

    If you have any questions, please feel free to open a support ticket here.

    Thank You!

    Hi, will this be updated/fixed in a future release? I hesitate to modify the code myself, but the recovery emails using {{cart.product.table}} do not work in Outlook as it is.

    Thanks,
    Tony

    Thread Starter bobfelstead

    (@bobfelstead)

    Hi,

    The tables can be modified to work in outlook. I have done so for one project which has been running for a few months.

    If you want to see the code, share your email here and I’ll supply. I also have the html email code that works with woocommerce.

    Bob

    Hi, thanks Bob, appreciate it!

    Cheers,
    Tony

    • This reply was modified 4 years, 11 months ago by betonicah. Reason: removing email address
    Thread Starter bobfelstead

    (@bobfelstead)

    Hi will download tomorrow and email it to you.

    B

    Thread Starter bobfelstead

    (@bobfelstead)

    Email sent…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Outlook product table display in MS Outlook’ is closed to new replies.