Email templates in Shoporama: which template sends which email
A complete overview of all email templates in Shoporama, from order confirmations and abandoned cart emails to return labels, subscriptions, and product review requests.
Shoporama uses a number of email templates to send emails to your customers automatically. All templates live in your theme's templates/mails/ folder. If a template does not exist in your theme, that email is not sent, unless you have created the email under Design → Emails.

Tip: You can set when the time-based emails are sent under Webshop → Emails and Text Messages in the Automatic emails to the customer card. Read more about settings for transactional emails.
Edit emails without code: You can also edit most of the emails below under Design → Emails without touching the theme's code. There, you build the email from blocks and change the text, logo, and colors. Once you have published a setup for an email and it is active, customers receive it instead of the theme's template, even if the theme does not have the template at all. Without an active setup, the theme's template is sent exactly as before. The dropshipping email, the sold-out notification, subscription_reminder.html, and subscription_change.html are not in Design → Emails and always come from the theme. Read more in Email editor: customize your automated store emails without code.
Preview and test: You can see the theme's email with data from your own store under Design → Emails. Click the email and expand the Theme mail card to see the subject, the recipient, and the email itself. You send a test email to your own inbox from the editor once you have created a setup for the email. Read more in Preview and test your automated emails before customers get them. The text snippets the template fetches through <{t section="Mail"}> can be translated under Design → Texts.
Note: The following templates are available at the template level, but not every theme includes every file. For example, only Delaware, DelawareDK, and Montana include the subscription templates by default. If a template is missing, you can copy it from another theme (for example Montana or Alaska2) and place it in your own theme's templates/mails/ folder, or you can create the email under Design → Emails, where it is marked The theme is missing this email.
Order emails
invoice.html
The order confirmation sent to the customer when the order has been paid. It contains a link to the customer's invoice.
invoice_dropshipping.html
Order confirmation for dropshipping addresses. It is used instead of invoice.html when the order is sent as dropshipping.
order_sent.html
Sent to the customer when you change the order status to "Shipped". It can contain a track-and-trace link. It can be turned off per shipping method.
order_ready_for_pickup.html
Sent to the customer when the order is ready for pickup in store.
order_picked_up.html
Sent to the customer when the order has been picked up.
order_credit.html
Sent when a credit note is created on an order.
order_cancelled.html
Sent to the customer when an order's status changes to "Cancelled". Cancellation emails are turned off by default and must be turned on per store with the Send emails when an order is canceled checkbox under Webshop → Emails and Text Messages in the Order emails to the customer card (the same setting controls both the customer receipt and the store's own notification, so bulk and automatic cancellations do not send unexpected emails). The customer email is also only sent if the template exists in the theme, or if the email has an active setup under Design → Emails.
withdrawal_received.html
Receipt to the customer when a purchase is withdrawn through the digital withdrawal function. It is only sent if the template exists in the theme, or if the email has an active setup under Design → Emails.
Marketing and follow-up
after_purchase.html
Follow-up email after the purchase. You set how many hours after the purchase the email is sent. If the order has not been paid and set to Shipped by then, the email is not sent, not even later. Well suited for asking customers to review the store on Trustpilot or Facebook.
basket_mail.html
The abandoned cart email, sent to users who started checkout and filled in their email address but did not complete the purchase. Effective for winning back customers who left their shopping cart.
payment_mail.html
Sent to users who reached the payment window but did not complete the payment. The email contains a direct link to the payment.
product_review_mail.html
Asks customers to review the products they bought. It contains direct links to the review pages.
Stock
in_stock_mail.html
Sent automatically to customers who signed up to be notified about a sold-out product when the product is back in stock.
out_of_stock_mail.html
Notification to the store owner when a product sells out.
Returns
return_label.html
Sent to the customer with a return label when a return label is created on an order.
return_received.html
Sent to the customer as confirmation that the return request has been received when the customer creates a return in the store. Included by default in Alaska2, California, Delaware, DelawareDK, Montana, and Washington.
return_voucher.html
Sent to the customer when a return is approved as store credit instead of a refund. It contains the gift card code, the amount, and the expiry date.
return_refund.html
Confirmation to the customer that the amount is being refunded to their card (a regular refund, or the difference on a cheaper exchange where the customer chose money back).
return_exchange_received.html
Sent to the customer when an exchange is created, as confirmation that the exchange request has been received. Falls back to return_received.html if the theme does not have it.
return_exchange_payment.html
Sent when you approve an exchange that costs more than the returned product and the customer pays online. It contains a payment link for the entire new order, and the value of the returned product is refunded to the customer's card. If the store has turned on Have the customer pay the price difference immediately during the exchange process, the link only covers the difference.
return_exchange_voucher.html
Sent when you approve a cheaper exchange where the customer chose to receive the remaining amount as store credit. It contains the gift card code. Falls back to return_voucher.html if the theme does not have it.
Subscriptions
subscription_confirmation.html
Sent when a subscription is created.
subscription_reminder.html
Reminder about an upcoming subscription delivery. It is sent as a text message, not as an email.
subscription_open.html
Sent when a canceled subscription is reopened.
subscription_change.html
Confirmation when the customer changes their subscription.
subscription_cancel.html
Sent when the customer cancels a subscription.
subscription_cancel_after.html
Follow-up after a subscription has been canceled.
The subscription templates are included in Delaware, DelawareDK, and Montana. Other themes do not include them by default.
Customer account
user-welcome-mail.html
Welcome email sent when a customer registers in your store. Included by default in Alaska2, California, Delaware, DelawareDK, Montana, and Washington.
user-reset-password-mail.html
Sent when a customer uses the "forgot password" function to reset their password.
user-points-expires-mail.html
Notification to customers that their loyalty points will expire soon.
How an email template is structured
All email templates use Smarty syntax and are built with an if/else block that separates the subject line from the content of the email:
<{if $subject}>
The subject line goes here
<{else}>
The body of the email goes here
<{/if}>
When Shoporama sends the email, the template is rendered twice: first with $subject = true to get the subject line, and then without it to get the email body.
Related articles
Which emails does Shoporama send to my customers?
An overview of the automatic emails Shoporama sends to your customers: order confirmation, shipping confirmation, abandoned cart, product reviews,...
Blacklist: block unwanted orders by email, phone, or IP
Learn how to use Shoporama's blacklist feature to block spam orders and unwanted customers by blacklisting an email address, phone number, or IP...
Settings for transactional emails
How to set when Shoporama automatically sends transactional emails such as abandoned cart emails, payment reminders, follow-ups after purchase, and...