Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Make e-mail contents editable by registering them as system messages #7

Open
boboldehampsink opened this issue Apr 23, 2020 · 0 comments

Comments

@boboldehampsink
Copy link

I.E.

        Event::on(SystemMessages::class, SystemMessages::EVENT_REGISTER_MESSAGES, function (RegisterEmailMessagesEvent $event) {
            $event->messages[] = [
                'key' => 'back_in_stock',
                'heading' => 'When a product is back in stock:',
                'subject' => 'Back in stock',
                'body' => '{{product}} is back in stock',
            ];
        });

Fully optional of course, but would be nice to have, especially for developers who can't do this themselves.

@boboldehampsink boboldehampsink changed the title Feature request: Make e-mail contents editable for admins by registering them as system messages Feature request: Make e-mail contents editable by registering them as system messages Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants