Provide a template to customize the content of the notification mail

Created on 17 November 2022, almost 2 years ago
Updated 15 September 2023, about 1 year ago

Problem/Motivation

We should provide a template to customize the content of the notification emails. It is a better approach than to rely on customizing the swiftmailer, since we might not want to depend on swiftmailer in the future and usually I prefer to have one global swiftmailer template and customize it's content in separate templates.

We should pass all relevant data such as the product variation (currently not available at all) and the message to that template.

One example is the commerce_order_receipt theme/template: https://git.drupalcode.org/project/commerce/-/blob/8.x-2.x/modules/order...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇭Switzerland Lukas von Blarer

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024