Shop emails can be customised to suit your project needs.
Enable / disable sending of emails
There are a few yaml config options that will affect which emails are sent:
OrderProcessor: #send order confirmation when order is placed, but unpaid send_confirmation: true #send a bcc copy of emails to administrator OrderEmailNotifier: bcc_confirmation_to_admin: true bcc_receipt_to_admin: true #Specify the 'from' address to use in email correspondence ShopConfig: email_from: email@example.com
Update email content by overriding the templates inside the
templates/email/ folder. Just create a corresponding folder/template in your mysite folder, such as
Modifying subject lines
Email subjects are in the translation system, so you can do the following to change an email subject line:
en: OrderNotifier: RECEIPTSUBJECT: 'My Website Order #%d Receipt'