Reuse markup rendered by commerce for order receipt mail

Created on 16 March 2023, over 1 year ago
Updated 17 March 2023, over 1 year ago

Problem/Motivation

Issue 🐛 Resending the confirmation email is rendered with default template Fixed fixed a problem with order receipt sent through the admin UI. However, in order to minimize complexity in the OrderReceiptEmail it is desirable to reuse the output rendered by the commerce hook_mail implementation. Since Postoffice 1.1.2, this is actually possible with the Postoffice Compat Theme module.

Steps to reproduce

Proposed resolution

Depend on the Postoffice Compat Theme module explicitly and avoid rendering the order a second time in OrderReceiptEmail.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇭Switzerland znerol

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024