Email Template Debugger

Catch broken Twig variables in Shopware 6 email templates before they silently block order confirmations. Real-time validation, preview, and error logs.

This is a concept, built for your shop

The description shows what such a plugin can do. We tailor the scope to your shop after a short needs analysis and usually deliver within a few days.

In short

  • Prevent silent email failures caused by invalid or missing Twig variables before they affect customers
  • Reduce debugging time from hours to minutes with structured error reports in the admin panel
  • Catch template regressions immediately — real-time validation flags issues as you edit, not after deployment

Why this extension

Without the plugin

In Shopware 6, a single incorrect variable in an email template is enough to silently prevent order confirmations from being delivered — no error in the logs, no warning in the admin panel, no notification to the store owner. Customers place orders and receive nothing. The root cause can take hours to find, even for experienced developers.

With the plugin

The Email Template Debugger extension solves this by introducing a dedicated debugging layer directly into the Shopware 6 administration. It validates Twig variables in real time during template editing, renders a live preview using actual test data, and captures detailed error reports whenever an email fails to send — so your team always knows exactly what went wrong and where.

How it would work

  1. Validate While You Edit

    As soon as you open an email template in the Shopware 6 administration, the plugin scans all Twig expressions for variables that do not exist in the expected data context. Invalid references are highlighted inline, so issues are visible before saving.

  2. Preview with Real Test Data

    Use the built-in preview tool to render the full template output using actual order or customer data from your store. This confirms that the rendered HTML matches expectations and that no variables resolve to empty or broken values at runtime.

  3. Capture and Review Failures

    If an email fails to send during a live Flow Builder dispatch, the plugin intercepts the exception and writes a structured error report to the dedicated log panel. Each entry includes the template name, the exact variable that caused the failure, the triggered flow event, and a timestamp. Optionally, the plugin sends an immediate notification to the store administrator.

Frequently asked questions

Is this a ready plugin I can buy?

No – it is a concept. We build it for your shop after a short needs analysis. Prices start at €100 and you get a fixed quote before we start.

Will this plugin modify my existing email templates?

No. The plugin is entirely non-destructive. It adds a validation and logging layer on top of the existing email dispatch pipeline without altering any core templates, Flow Builder configuration, or database records.

Does it catch errors in templates provided by Shopware itself?

Yes. The validator checks all templates in the administration, including default templates shipped with Shopware 6. If a Shopware-provided template contains an incorrect variable — such as a misreferenced media property — the plugin will flag it and log any resulting dispatch failure.

Can I configure which admin email address receives failure notifications?

Yes. In the plugin settings you can specify one or more notification recipients, set a minimum error severity threshold, and choose whether notifications are sent immediately or batched in a daily digest.

Does the plugin affect email sending performance?

The validation layer adds negligible overhead during dispatch. Error logging is asynchronous and does not block the mail queue. The live preview feature runs only on demand within the administration and has no impact on storefront performance.

Which Shopware versions are supported?

We build it for the version your shop runs: 6.5, 6.6 or 6.7. Updates for new Shopware versions are included as long as we stay in active contact.

How long does it take?

Usually 5–10 business days after the needs analysis, depending on the agreed scope.

All features

  • Real-time Twig variable validation during email template editing in the Shopware 6 administration
  • Live template preview rendered with realistic test data, reflecting the actual mail dispatch context
  • Detailed error log panel listing every failed send attempt, including the offending variable and template name
  • Full error report storage – each failed dispatch is saved with a timestamp, recipient context, and stack trace
  • Optional admin notification system – sends an alert to a configured email address whenever a template error causes a send failure
  • Compatibility with all Shopware 6 Flow Builder events, including checkout.order.placed, payment status changes, and custom triggers
  • Non-destructive integration – no modifications to core Shopware email templates or Flow Builder logic
  • Configurable log retention to keep the admin panel clean without losing audit history

Ask about a custom build

Describe your shop and what you need. We will get back to you with questions and a fixed quote after a short needs analysis.

Specifications

Shopware
6.5, 6.6, 6.7
Type
Made to measure
Delivery
5–10 business days
Updated
22 Oct 2026

Email Template Debugger

from €100

Ask about a custom build