CUSTOMIZED EMAIL TEMPLATES
|
This feature allows the web author/designer to customize the default email template that is received each time there is an order. The email template can return some or all of the sale data in a completely customizable format. To specify who will receive the sale data, you add a line of code to the opening <FORM> call specifying the correct input name and the path to the template(s) on the total page. Various different formats can be used:
<input type="hidden" name="BuyerEmailNotifTemplate" value="\path\filename1.txt"> <input type="hidden" name="OwnerEmailNotifTemplate" value="\path\filename2.txt"> <input type="hidden" name="BothEmailNotifTemplate" value="\path\filename3.txt"> There are two parts to the Custom Email Template: the Order Information Section and the Item Information Section. The Order Information must occur first in the Custom Email Template and the Item Information is located at the bottom of the Template and is a section that replicates for each item in the order. Note: All variables must use the "##" format. Order Info Section: You can use all of these variables once or multiple times throughout the body of your email template prior to the replicating item info section:
FirstName: ##FirstName##
ShipToFirstName: ##ShipToFirstName##
OrderNumber: ##OrderNumber## Database Fields: You may also use the Database Fields if you are storing data to a database from the Total Page. Item Info Section: The Item info section is replicated for each individual item in the order. The section to be replicated must start with a #* and end with *#. Example:
#*
Example Order Confirmation Custom Email Template
OrderNumber: ##OrderNumber##
- - Customer Information - -
FirstName: ##FirstName##
- - Shipping Information (if different from above) - -
ShipToFirstName: ##ShipToFirstName##
- - Sale Information - -
Extra1: ##Extra1##
- - Item Information - -
#*
|