• Resolved smhcis

    (@smhcis)


    I am trying to send a test email from WooCommerce, however, I keep getting a message saying, “There was an error rendering the email preview. This doesn’t affect actual email delivery. Please contact the extension author for assistance.”

    This affects the following templates:

    • New Order
    • POS Refunded Order
    • POS Completed Order

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @smhcis,

    Thanks for reaching out. I understand you’re having trouble with email delivery, and I know how frustrating that can be.

    To better understand the issue you’re facing, could you clarify whether you’re trying to send emails manually from WooCommerce? WooCommerce doesn’t support manual email sending by default.

    Also, please share your System Status Report so we can take a closer look. You can find it by going to WooCommerce > Status > Get system report > Copy for support, then paste the report at gist.github.com and share the link here.

    Thread Starter smhcis

    (@smhcis)

    @mosesmedh,

    I am trying to PREVIEW the email template under WooCommerce > Settings > Emails, but I keep getting the following error message: “There was an error rendering the email preview. This doesn’t affect actual email delivery. Please contact the extension author for assistance.”

    If I click the “Send a test email” button it tells me, “There was an error rendering an email preview.”

    Also, this does not happen with all the email templates, only with the following:

    • New Order
    • POS Refunded Order
    • POS Completed Order

    Hi @smhcis,

    Thanks for the clarification!

    We’ve tested this on our end and haven’t been able to replicate the issue, so we’ll need a bit more information to investigate further.

    Please share the following:

    1. Your System Status Report from WooCommerce → Status → Get system report. You can paste it via Pastebin or Gist.
    2. Any related fatal errors from WooCommerce → Status → Logs.
    3. A screenshot of your browser’s console while the error appears. This can help us catch any JavaScript-related issues.

    Thank you.

    Thread Starter smhcis

    (@smhcis)

    System Status Report

    https://gist.github.com/smahigdon/883473b79bc0e53d564db2d36874fc3a

    Logs

    No recent fatal errors, but this is the entry under the “plugin-woocommerce” log.

    2025-07-21T20:14:31+00:00 Debug Attempted to determine the edit URL for order 12345, however the order does not exist.
    2025-07-21T20:14:31+00:00 Debug Attempted to determine the edit URL for order 12345, however the order does not exist.

    Screenshot

    • This reply was modified 10 months, 2 weeks ago by smhcis.

    Thanks for the details.

    I checked your site’s System Status Report, and I noticed you’re using the WooCommerce POS plugin by kilbot (v0.4.28). This plugin adds custom email templates like “POS Refunded Order” and “POS Completed Order,” which don’t come from WooCommerce core.

    Likely, these templates aren’t fully compatible with the current email preview system in WooCommerce, especially if they use older template structures or are missing hooks. That could be why the email preview works for default templates, but not for these POS-related ones.

    As a next step, I recommend temporarily disabling the WooCommerce POS plugin and checking if the previews load correctly afterward. If that resolves it, the issue is likely with how the POS plugin registers or renders its email templates.

    Let us know how it goes, and if needed, we’d suggest reaching out to the plugin developer for compatibility updates.

    Hi @smhcis & @saivutukuru, I am the developer of WooCommerce POS. Just a short note to say that my plugin doesn’t add any email templates. It’s possible they come from another POS plugin, or perhaps they were added by the user.

    Hi @kilbot,

    Thanks for the clarification and for stepping in to contribute — it’s much appreciated.

    @smhcis, since Kibot has confirmed that their plugin doesn’t add this type of template and WooCommerce doesn’t include POS email templates by default, could you share how the POS email template was added to your site?

    I reviewed your report and noticed you have several active plugins, which might be the source of the template. Do you recall which plugin you used to enable this functionality?

    Thread Starter smhcis

    (@smhcis)

    @mosesmedh, I think you may have read the wrong system report. I do not use the WooCommerce POS plugin on any of my websites.

    I reviewed my other websites and found 3 of them have these same POS Refunded Order and POS Completed order. I cannot find a WooCommerce addon that is common between the three of them.

    I tried deactivating all plugins except for WooCommerce and the POS templates/settings were still there.

    Hi @smhcis,

    Thank you for the clarification. Could you please confirm whether you’re using the same theme and plugins on this site as on the other one?

    By default, WooCommerce does not include email templates for POS Refunded Order or POS Completed Order — these typically come from a POS plugin or something similar.

    To help investigate further, please provide the following:

    • A screenshot of WooCommerce > Settings > Emails
    • A full screenshot of each of those email templates after clicking Manage

    You can use a tool like Snipboard to share the screenshots. Please ensure they are full and clear.

    Thread Starter smhcis

    (@smhcis)

    @mosesmedh

    Here are the themes/plugins in use of the affected websites:

    Website 1: Divi (Theme), ActiveCampaign Postmark, Autoload Optimizer, BuddyPress, BuddyPress Docs, Complianz Privacy Suite, CompressX, Converter for Media, Disable Bloat for WordPress & WooCommerce, Duplicate Page, Easy Property Listings, Error Log Viewer by BestWebSoft, Formidable Forms, Formidable Forms Pro, Health Check & Troubleshooting, If Menu, ManageWP – Worker, Paid Memberships Pro, Paid Memberships Pro – Updated Manager, Popups for Divi, Pre-Orders for WooCommerce, Rank Math SEO, Sassy Social Share, Updraft Plus, White Label CMS, WooCommerce, WooCommerce Stripe Gateway, Wordfence Security, WP Anti-Clickjack, WP Rocket, WP Rocket | Disable Page Caching for Logged-In Users, WPBot ChatBot, WPCode Lite

    Website 2: Hello Elementor (Theme), ActvieCampaign Postmark, Advanced Order Export for WooCommerce (Pro), Checkout Files Upload for WooCommerce (Premium), Code Snippets, Complianz Privacy Suite, CompressX, Disable Bloat for WordPress & WooCommerce, Duplicate Menu, Duplicate Page and Post, Elementor, Elementor Pro, ElementsKit Lite, Enable Media Replace, Error Log Viewer by BestWebSoft, Extra Product Options for WooCommerce, Health Check & Troubleshooting, Kadence WooCommerce Email Designer, ManageWP – Worker, Pixel Cat Lite, Rank Math SEO, reCAPTCHA for WooCommerce, UpdraftPlus, White Label CMS, WooCommerce, WooCommerce Conditional Shipping Pro, WooCommerce Stripe Gateway, Wordfence Security, WP Rocket, YITH WooCommerce Product Bundles

    Website 3: GeneratePress (Theme), a3 Lazy Load, ActiveCampaign Postmark, Complianz Privacy Suite, Converter for Media, Disable Everything, Duplicate Page and Post, Elementor, Elementor Pro, Email Blacklist for Elementor Forms, GP Premium, ManageWP – Worker, Modern Events Calendar Lite, Rank Math SEO, reCAPTCHA for WooCommerce, UpdraftPlus, White Label CMS, WooCommerce, WooCommerce PayPal Payments, WooCommerce Tax, Wordfence Security, WP-Optimize

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the complete datails.

    The error message you’re seeing — “There was an error rendering the email preview. This doesn’t affect actual email delivery. Please contact the extension author for assistance.” — typically indicates that a third-party plugin or theme is interfering with the email preview functionality. This does not impact the actual sending of order emails but affects the ability to generate the preview within the admin area.

    To isolate the cause, I recommend performing a complete conflict test by temporarily switching to the Storefront theme and deactivating all plugins except WooCommerce. Then, check if the email preview works correctly. Also I would suggest to make sure you are using WooCommerce latest version 10.0.4

    If you prefer not to test on your live site, you can create a staging site (a copy of your site used for safe testing). If your host doesn’t already provide staging functionality, plugins like WP Staging can help with that.

    Once the conflict test is done, you can re-enable your theme and plugins one at a time to identify which one may be causing the issue.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    Since we didn’t hear back from you, I’ll mark this as resolved for now. You can always open a new thread if you have more questions or need support later.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error Rendering the Email Preview’ is closed to new replies.