Which templates are used for which emails?
Complete overview of all email templates in Shoporama - order confirmations, abandoned baskets, return labels, product reviews and much more.
Shoporama uses a number of email templates to automatically send emails to your customers. All templates are located in your theme's templates/emails/folder. If a template is not in your theme, then the email will not be sent.
Tip: You can set when the time-based emails are sent under Settings → Mails in your admin panel. Read more about settings for transactional emails.
Order-related emails
invoice.html
The order confirmation sent to the customer when the order is paid. Contains a link to the customer's invoice.
invoice_dropshipping.html
Order confirmation for dropshipping addresses. 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 "sent". Can contain track-and-trace link. Can be deselected 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 is picked up.
order_credit.html
Sent when a credit note is created on an order.
Marketing and follow-up
after_purchase.html
Follow-up email after the order has been shipped. You set how many hours after the status change the email is sent. Suitable for encouraging customers to review the shop on Trustpilot or Facebook.
basket_mail.html
Sent to users who have started checkout and filled in their email address but not completed the purchase. Effective for reactivating customers who abandoned the 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
Encourages customers to review the products they have purchased. Contains direct links to the review pages.
Stock
in_stock_mail.html
Automatically sent to customers who have signed up to be notified of an out of stock product when the item is back in stock.
Returns and 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 returned items have been received.
User account
user-welcome-mail.html
Welcome email sent when a customer registers in your online store.
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 are about to expire.
Building an email template
All mail templates use Smarty syntax and are built with an if/else block that separates the subject field from the email content:
<{if $subject}> Here is the subject line <{else}> Here is the content of the email itself <{/if}>
When Shoporama sends the email, the template is rendered twice: first with $subject = true to get the subject line, and then without to get the email body.