-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Ability to review/modify email templates #423
Comments
@mikemurray @saralouhicks per discussion, this is the list of email template we need/have. We currently don't send the order complete or welcome emails, the others are sent, but we need a good standard design template to use with these. |
Templates will also need i18n handling. The current ones need updates as well for i18n in the sender fields on the server.
|
@saralouhicks we'll need some generic templates to add to the existing templates. (which have no layout). |
i18n is addressed with PR #1062 |
So since this ticket was assigned to @rymorgan I am assuming this is the epic and covers doing the design UI of the templates in anticipation of implementation starting for 16? |
Just wondering if someone can point me in the right direction as to how to override the order email templates using the Templates collection? I can't seem to find anything in the docs or otherwise. Thanks! |
@HadenHiles currently you can override by adding the html email content directly into the |
I noticed that in the Sorry if I missed something that already explains this with more detail, I wouldn't ask without doing my best to figure it out on my own. I even tried guessing the object structure but had no luck. |
You can find the schema here: https://github.com/reactioncommerce/reaction/blob/master/lib/collections/schemas/templates.js So, to replace the welcome email, it might look something like: import Templates from '/lib/collections';
Templates.insert({
template: 'accounts/sendWelcomeEmail',
language: 'en',
source: 'the HTML or plain text content of your email'
}); (the language key being optional if you're adding an English email) |
Ah, thank you @jshimko! |
The current We didn't really document that because we're also going to be updating it soon with a more flexible structure, see the proposed structure here: https://github.com/reactioncommerce/reaction-docs/compare/proposed-email-templates The current |
Oh I see; why document something that is going to be updated and redundant. That makes sense. Thanks again for the help, seems like you guys are really on your game. Keep it up! |
@saralouhicks @aaronjudd So the title of this ticket is about reviewing/editing the email templates however the body of the ticket is all about implementing the templates which is now in #1429. Do we want to keep this ticket for adding the ability to edit templates through the dashboard or start over with a new ticket? |
Since this ticket mostly addresses email templates which is covered in #1429 I am going to close this ticket. A new ticket for modifying/editing tickets through the dashboard should be created. |
This is the transactional email "epic". Reopening |
Fixed by #1585 |
…l-bronto-plugin chore(email-bronto): update to 1.0.1
The following email templates are needed for Beta:
New user invite (admin)
Welcome (shopper)
Order complete (shopper)
Shipment notification (shopper)
Order status changes - refunds, delays, stage change (shopper)
Change PW (shopper)
The text was updated successfully, but these errors were encountered: