website logo
Navigate through spaces
⌘K
OVERVIEW
ORDER MANAGEMENT (OMS)
SHIPPING - SETUP
Shipping Methods
Shipping Zones
Shipping Method Setup Examples
TAXES - Setup
Tax Automation with Stripe Tax
Tax Automation with Avalara
CONTENT MANAGEMENT (CMS)
DATA
CUSTOMER LIFETIME REVENUE
Customer Lifetime Revenue Explanation
Customer Lifetime Revenue and Purchase Likelihood
Recency Frequency and Monetary
CLR and RFM Data Table Glossary
RFM and CLR in the Hub
LOOKER
Modifying a Dashboard
Timestamp differences between Looker, OMS and Shopify
How to create custom calculations in Looker
Looker and Shopify data models
Custom fields
How to 'Save and Schedule' reports
Creating Custom Reports or Look
Looks vs Dashboards
Login Looker FAQ
Looker Glossary
SEGMENT EVENT TRACKING
What are event tracking
Adding Tracking
What is the Tracking Plan?
The Chord Tracking Plan
The Shopify Tracking Plan
Event Tracking FAQ
EVENT UPDATES PAGE
Email Subscription Payment Event Update
Product Feed Setup
Getting Segment to Production
Consent Management
Installing in Next.js
Installing in Gatsby
Integrations
👩‍💻Developer Tools
Using Chord with Shopify
Docs powered by archbee 

Transactional Emails

5min



Introduction

Transactional Emails are the mandatory post-purchase email communications you can send to customers. These emails are content managed in Contentful or Sanity and set via our email services.‌

Default Email Templates

Subscriptions (email name: slug) Subscription Reminder Email: subscription_default_reminder Subscription Last Chance Reminder Email: subscription_last_chance_reminder



subscription_email.json




Stock Requests (email name: slug) Item Back In Stock Email: back_in_stock



stock_requst_email.json




Reimbursements (email name: slug) Order Reimbursement Email: reimbursement_email



reimbursement_email.json




Refunds (email name: slug) (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



refund_email.json




Referrals (email name: slug) Reward Confirmation Email‌: reward_confirmation Referral Prompt Email: referral_prompt



referral_email.json




Orders (email name: slug) Order Confirmation Email: confirm_email Order Cancelation Email: cancel_email Order Cross Sell Email: cross_sell_email Checkout Abandoned Email‌: abandoned_email



order_mail.json




Cartons (email name: slug) Order Shipped Email: shipped_email



carton_mail (shipped email).json




Gift Cards (email name: slug) Gift Card Email: gift_card_email



gift_card_email.json








Document image




Inky

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).



Document image




Note: You can still use HTML‌‌!



Variables

{{ship_address.firstname}}

{{#first_package_tracking.url}}

{{#line_items}}

{{name}

{{#options_text}}

{{#is_bundle}}

{{/parts}}

{{quantity}}

{{price}}

{{#promo_total}}

{{#payment_charge}}

{{shipment_total}}

{{#store_credit_applied}}

{{ship_address.full_name}}

{{ship_address.address1}}

{{#ship_address.address2}}

{{ship_address.city}},

{{ship_address.state}}

{{ship_address.zipcode}}

{{shipping_method}}

{{#trackings}}

{{#url}}

{{order_total_after_store_credit}}

{{purl_link}

{{email}}

{{credit}}

{{reimbursement_total}}

{{updated_order_total}}

{{credit_balance}}

{{order.subscription_order,}}

{{order.spree_channel.name}}

{{ order.state}}

{{order.display_item_total.to_s}}

{{order.display_tax_total.to_s}}

{{order.display_total_applicable_store_credit.to_s}}

{{payment_information}}

{{order.cart_url.to_s}}

{{order.subscription_in_cart?}}

{{fully_cross_sold_line_items}}

{{partially_cross_sold_line_items}}

{{non_cross_sold_line_items}}

{{order.metadata}}

{{order.shipments.first&.shipping_method&.code}}

{{shipping_method_name}}

{{order.display_order_total_after_store_credit.to_s}}



Example 1:



Document image






Example 2:



Document image




Sections

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



Additional Information

‌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-



If you have questions or need more information, please reach out to help@chord.co





Updated 28 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
Product Stock - Backorder
NEXT
Importing Data
Docs powered by archbee 
TABLE OF CONTENTS
Introduction
Default Email Templates
Inky
Variables
Sections
Additional Information