Customer Stock Alert E-mail¶
The Customer Alert E-mail will be send automaticaly to the provided e-mail address when the products your customers are interested in become available.
In the e-mail code, the object products is available.
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 Customer Stock Alert E-mail in the Templates application. Remember that you are defining only a template, not its sending. Use the products object to display personalized data (such as product name, code and much more).
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 Customer Stock Alert 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.
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 a show-card, coupon or anything else you want. Remember that this file 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 file from the File Manager.