• Resolved insearchofasolution

    (@insearchofasolution)


    Hi there,

    I have an issue with how the products are rendered in an e-mail when using the woocommerce shortcode. When I preview the newsletter in WP when creating it, it looks OK: https://ibb.co/xFgfXnm

    However, when I send the e-mail, it doesn’t take into consideration the imagesize=”80,160″ element of the shortcode. It renders the pictures in full size: https://www.loom.com/share/22a623bd05194922b6ca94186144a0c5.

    Can you please check?

    Also another question – it is displaying even products that are scheduled (not published yet). Is it possible to limit the shortcode to send out only published products and NOT scheduled/unpublished ones?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter insearchofasolution

    (@insearchofasolution)

    I was able to find a workaround until you can work on it.

    I have customized css:

    .newsletters-wc-products .email-image {
    width: 180px!important;
    }

    However, the above didn’t work for Outlook (shocker! lol) and the only thing that worked was amending the shortcode by hardcoding width and height: https://ibb.co/P9FLX8r

    Plugin Author Tribulant Software

    (@contrid)

    @insearchofasolution

    Great, I’m glad to hear you found a solution/workaround.

    Do you have “Auto Inline Styles” turned on under Newsletters > Configuration > General > Sending Settings? (Advanced Settings must be on).

    For Outlook, you need a width attribute on the image. By default that should be on the image.

    Thread Starter insearchofasolution

    (@insearchofasolution)

    Hi @contrid
    just wondering if you will implement this fix as you have marked the ticket as resolved? It is not really resolved, I have just found a workaround which I am not comfortable using as a long term solution.

    I think that users should not write custom code in order for the plugin to work across mail clients – especially if that is the main purpose of the plugin?

    Can you please confirm?

    Thanks

    Plugin Author Tribulant Software

    (@contrid)

    @insearchofasolution

    Yes, this is technically not resolved but I added the issue to our development list here so we’ll test here and make sure that the width/height attributes are added to the images so that they render correctly in Outlook.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Shortcode rendering issue’ is closed to new replies.