Title: WooCommerce Shortcode rendering issue
Last modified: April 22, 2019

---

# WooCommerce Shortcode rendering issue

 *  Resolved [insearchofasolution](https://wordpress.org/support/users/insearchofasolution/)
 * (@insearchofasolution)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/)
 * 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](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](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](https://wordpress.org/support/users/insearchofasolution/)
 * (@insearchofasolution)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/#post-11454046)
 * 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](https://ibb.co/P9FLX8r)
 *  Plugin Author [Tribulant Software](https://wordpress.org/support/users/contrid/)
 * (@contrid)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/#post-11455513)
 * [@insearchofasolution](https://wordpress.org/support/users/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](https://wordpress.org/support/users/insearchofasolution/)
 * (@insearchofasolution)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/#post-11457120)
 * Hi [@contrid](https://wordpress.org/support/users/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](https://wordpress.org/support/users/contrid/)
 * (@contrid)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/#post-11462115)
 * [@insearchofasolution](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/newsletters-lite/assets/icon-256x256.png?rev=1184265)
 * [Newsletters](https://wordpress.org/plugins/newsletters-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/newsletters-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletters-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletters-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletters-lite/reviews/)

## Tags

 * [bulk email](https://wordpress.org/support/topic-tag/bulk-email/)
 * [get_price](https://wordpress.org/support/topic-tag/get_price/)
 * [Newsletter Software](https://wordpress.org/support/topic-tag/newsletter-software/)
 * [tribulant](https://wordpress.org/support/topic-tag/tribulant/)
 * [WordPress Newsletter Plugin](https://wordpress.org/support/topic-tag/wordpress-newsletter-plugin/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tribulant Software](https://wordpress.org/support/users/contrid/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-shortcode-rendering-issue/#post-11462115)
 * Status: resolved