Transactional Emails
Transactional Emails are the mandatory post-purchase email communications you can send to customers. These emails are content managed in Contentful or Sanity and sent via Chord's email services.
(email name: slug)
Subscriptions
- Subscription Reminder Email: subscription_default_reminder
- Subscription Insufficient Stock: subscription_ insufficient_stock
- Subscription Last Chance Reminder Email: subscription_last_chance_reminder
- Subscription Installment Failed: subscription_installment_failed
- Subscription Installment Payment Failed: subscription_installment_payment_failed
Stock Requests
- Item Back In Stock Email: back_in_stock
Reimbursements
- Order Reimbursement Email: reimbursement_email
Refunds (The same email template is used for refunds/reimbursements, they are two different things that coincide with a refund of money and/or an exchange)
- Order Refund Email: reimbursement_email
Referrals
- Reward Confirmation Email: reward_confirmation
- Referral Prompt Email: referral_prompt
Orders
- Order Confirmation Email: confirm_email
- Order Cancelation Email: cancel_email
- Order Cross Sell Email: cross_sell_email
- Checkout Abandoned Email: abandoned_email
Cartons/Shipments
- Order Shipped Email: shipped_email
Gift Cards
- Gift Card Email: gift_card_email
In order to be more flexible in creating emails, we are using Inky as a templating language to essentially convert complex HTML tags into a much simpler approach.Inky simplifies the process of creating HTML emails by expanding out simple tags like and into full table syntax.
With Inky, we can inject variables into our HTML templates that will be replaced with values from the order when they are compiled into HTML (see {{ship_address.firstname}} in the example below).
Note: You can still use HTML!
Example one:
Example two:
Sections render blocks of text one or more times, depending on the value of the key in the current context.A section begins with a pound and ends with a slash. That is {{#person}}begins a "person" section while {{/person}} ends it. More information here
The main way to get started is with Foundation for Emails and CSS styled emails without the hassle
A tool to help implement and test customizations to Chord email templates.
If you can achieve your needs by overriding a few styles within the Contentful Email's Custom Styles field, this tool isn't necessary. It exists for those looking to completely customize the branding of their email templates.
Chord email templates are powered by Foundation for Emails and this repository is based on their foundation/foundation-emails-
You may decide to disable our transactional templates. Instead, you can use Email Queued events to trigger your own transactional emails with an external service like Klaviyo or Iterable.
Disabling all transactional emails is accomplished by setting TRANSACTIONAL_EMAILS_ENABLED to disabled . This setting is configurable on a per-store basis in the Environment Variables section in Settings / Store
You also have the option to deactivate specific email template. This functionality allows you to enable or disable transactional emails individually by incorporating an optional boolean field, "enabled," into the Email content type within Contentful. If this field is present and set to "no," the respective email template will be deactivated.
If you have questions or need more information, please reach out to [email protected]