Purchase Confirmation E-mail¶
A Purchase Confirmation E-mail can be automatically sent to a customer when he/she makes a payment. If the order is in the Sales module and marked as paid (an order state), this e-mail is sent. This e-mail type should contain base info about the purchase (such as dates, purchased items, their price, selected payment and delivery method and information about a Branch which is dispatching it) and it can also contain an invoice, links for product download or license keys (in case a product is in electronic form or software).
In the Templates application (a particular website editor, Tools and Settings tab) you define only a template. The sending is defined in the E-shop Settings application later (after the template is done and completed).
Code an E-mail Template for Purchase Confirmation E-mail in the Templates application. Remember that you are defining only a template, not its sending. You can define more templates for this e-mail type according to the Payment Methods you offer on your online store. Use the E-mail Template Parameters help-site to display personalized data (such as purchased items, delivery used, payment methods and much more). Primary focus on the Customer’s Template section.
Define the usage of Template.
Navigate to the Administration and run E-shop Settings. Here, on the E-mails tab, add the created template.
Click the Add button and in the E-mail Type field select the Purchase Confirmation E-mail. In Template select a Name of the particular E-mail Template you created in the application before.
The From Label field defines a name that will be displayed to the customer in the e-mail. Notice that this field can be translated in case you have a multilingual online store.
The From field should contain an e-mail address from which this email will be sent. For example an e-mail you use for storing customer support.
The Subject field is a subject of this e-mail that is displayed to the customer (together with From Label). For example “Your order on our online store has been received”.
The To field is automatically filled in with e-mail that your customer provided to you during the checkout process. “Cc” and “Bcc” fields should optionally contain another e-mail addresses to that you want to send copies of those e-mails.
Notice the second Payment Methods tab. Here you define for which types of Payment Method the e-mail you added on the first tab will be used.
When you are done, click the Add button (and the Save button in the toolbar) and your e-mail will be automatically sent when a customer orders something from your online store (don’t forget to approve the project!).
Add an attachment. You can add an attachment to this e-mail type. This can be the invoice, show-card, coupon or anything else you want. Remember that this attachment must be added to the File Manager first. For every e-mail added the attachment icon is available on the right side on each e-mail record. Click it and select a document (see the Document tab in the E-shop Settings) or a file from the File Manager.