{"id":895,"date":"2017-07-07T13:57:44","date_gmt":"2017-07-07T17:57:44","guid":{"rendered":"http:\/\/e-registernow.com\/support\/?p=895"},"modified":"2020-02-24T11:12:01","modified_gmt":"2020-02-24T16:12:01","slug":"custom-template-variables-confirmation-email","status":"publish","type":"post","link":"https:\/\/e-registernow.com\/support\/custom-template-variables-confirmation-email\/","title":{"rendered":"Custom Confirmation Email Variables"},"content":{"rendered":"\n<p>All the following variables will be replaces with the appropriate data. They must be enclosed between &#8220;%% %%&#8221; to work (e.g. %%amount_paid%%).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Variables<\/h4>\n\n\n\n<figure class=\"wp-block-table variables is-style-stripes\"><table class=\"\"><tbody><tr><th>Variable<\/th><th>Variable Definition in eTickets<\/th><\/tr><tr><td>EMAIL<\/td><td>Registrant&#8217;s Email<\/td><\/tr><tr><td>EMAIL_PRINTABLE_INVOICE_LINK<\/td><td>A URL link to the printable invoice.<\/td><\/tr><tr><td>EVENT_NAME<\/td><td>Name of your event as defined in event definition<\/td><\/tr><tr><td>EVENT_BADGENAME<\/td><td>Badge name of your event as defined in event definition<\/td><\/tr><tr><td>EVENT_LOCATION<\/td><td>Location as defined in Event Definition<\/td><\/tr><tr><td>EVENT_INSTRUCTOR<\/td><td>Instructor\/Presentor as defined in Event Definition<\/td><\/tr><tr><td>EVENT_CATEGORIES<\/td><td>Category as defined in Event Definition. (e.g. sailing~camp~boating)<\/td><\/tr><tr><td>EVENT_START_DATE<\/td><td>First day of event as defined in Event Definition<\/td><\/tr><tr><td>EVENT_END_DATE<\/td><td>Last day of event as defined in Event Definition<\/td><\/tr><tr><td>EVENT_LIST_NAMES_AND_DATES<\/td><td>List events that the registrant has chosen, with dates. In default, they will be listed one event per line.<\/td><\/tr><tr><td>EVENT_LIST_NAMES_AND_DATES[,]<\/td><td>Same as above, except events will be listed as follows:<br>Event1, Event2, Event3, etc.<\/td><\/tr><tr><td>EVENT_LIST_NAMES_AND_INSTRUCTORS<\/td><td>Display&#8217;s Event Names and Instructors<\/td><\/tr><tr><td>EVENT_LIST_NAMES_DATES_AND_TIMES<\/td><td>Same as EVENT_LIST_NAMES_AND_DATES, but also with times.<\/td><\/tr><tr><td>EVENT_LIST_NAMES_DATES_AND_TIMES[,]<\/td><td>Same as EVENT_LIST_NAMES_AND_DATES[,], but also with times.<\/td><\/tr><tr><td>EVENT_START_DATE_NICE_FORMAT<\/td><td>Start date of event in the following format:<br>DayofWeek, Month DD, YYYY<\/td><\/tr><tr><td>MESSAGE_SUBJECT<\/td><td>Email&#8217;s Subject line.<\/td><\/tr><tr><td>PID<\/td><td>The C-level&#8217;s unique identifier for each person found in the C-level database.<\/td><\/tr><tr><td>REGISTRANT_NAME_FIRST<\/td><td>Registrant&#8217;s First Name inputted in the registration form<\/td><\/tr><tr><td>REGISTRANT_NAME_MIDDLE<\/td><td>Registrant&#8217;s Middle Name inputted in the registration form<\/td><\/tr><tr><td>REGISTRANT_NAME_LAST<\/td><td>Registrant&#8217;s Last Name inputted in the registration form<\/td><\/tr><tr><td>REGISTRANT_NAME_SALUTATION<\/td><td>Salutation inputted in the registration form<\/td><\/tr><tr><td>REGISTRANT_NAME_JOBTITLE<\/td><td>Job title inputted in the registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_PHONE<\/td><td>Registrant&#8217;s home phone number, as entered in the registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_FAX<\/td><td>Registrants&#8217;s home fax number, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_CELL<\/td><td>Registrants&#8217;s home cell number, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_ADDRESS<\/td><td>Registrants&#8217;s home address, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_CITY<\/td><td>Registrants&#8217;s home city, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_PROVINCE<\/td><td>Registrants&#8217;s home province, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_POSTAL<\/td><td>Registrants&#8217;s home postal code, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_HOME_COUNTRY<\/td><td>Registrants&#8217;s home country, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_NAME<\/td><td>Registrants&#8217;s business name, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_ADDRESS1<\/td><td>Registrants&#8217;s business address, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_ADDRESS2<\/td><td>Registrants&#8217;s 2nd line of biz address, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_CITY<\/td><td>Registrants&#8217;s business city, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_PROVINCE<\/td><td>Registrants&#8217;s business province, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_POSTAL<\/td><td>Registrants&#8217;s business postal code, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_COUNTRY<\/td><td>Registrants&#8217;s business country, as entered in registration form<\/td><\/tr><tr><td>REGISTRANT_BUSINESS_PHONE<\/td><td>Registrants&#8217;s business phone number, as entered in registration form<\/td><\/tr><tr><td>PASSWORD<\/td><td>A arbitrary password generated for each registration.<\/td><\/tr><tr><td>QUESTION_FIELD=<b>xxx<\/b><\/td><td>Response to a custom question, where <b>&#8216;xxx&#8217;<\/b> represents the custom question&#8217;s field name (e.g.: QUESTION_FIELD=AGE)<\/td><\/tr><tr><td>QUESTION_FIELD_DATE=<b>xxx<\/b><\/td><td>Response to a custom question, where <b>&#8216;xxx&#8217;<\/b> represents the custom question&#8217;s field name (e.g.: QUESTION_FIELD=BIRTHDATE) Use when the response is of date type.<\/td><\/tr><tr><td>WAIVER_FIELD=<b>xxx<\/b><\/td><td>Response to a custom question, where <b>&#8216;xxx&#8217;<\/b> represents the custom question&#8217;s field name (e.g.: QUESTION_FIELD=PHOTOWAIVER).<br>It the first few letters are &#8220;Yes&#8221; or &#8220;I AGREE&#8221;, it will return the contents of \/MID\/emailwaiver_xxx.txt.<br>(html code can be inserted to this .txt file if the email template is html.)<br><\/td><\/tr><tr><td>PAYMENT_METHOD<\/td><td>The payment method used. (e.g. VISA)<\/td><\/tr><tr><td>REGISTRANT_SUMMARY<\/td><td>Displays a summary of events registered in.<\/td><\/tr><tr><td>REGISTRANT_SUMMARY1<\/td><td>Displays a summary of events registered in using a different format than REGISTRANT_SUMMARY.<\/td><\/tr><tr><td>REGISTRATION_FORM_EMAIL<\/td><td>The default registration form email<\/td><\/tr><tr><td>EMAIL_PRINTABLE_INVOICE_LINK<\/td><td>For e-Ticket users, this will send the web link to the original invoice, shown in Step 4 to the registrant<\/td><\/tr><tr><td>CONFIRMATION_NUMBER<\/td><td>Registrant&#8217;s transaction confirmation number, issued by e-RegisterNow<\/td><\/tr><tr><td>XXXDOLLARTYPE<\/td><td>Registrants currency used for payment: CAD or USD<\/td><\/tr><tr><td>XXXAMOUNT<\/td><td>Total amount of registrant&#8217;s transaction<\/td><\/tr><tr><td>subtotal<\/td><td>Subtotal<\/td><\/tr><tr><td>tax1amount &#8211; tax5amount<\/td><td>Total of tax 1 &#8211; tax 5<\/td><\/tr><tr><td>XXXMID<\/td><td>The merchant&#8217;s M account ID<\/td><\/tr><tr><td>XXXPAYMENTTYPE<\/td><td>E.g.: Visa, Mastercard, American Express, Mail, Cheque, etc.<\/td><\/tr><tr><td>XXXCUSTOMEMAILCC<\/td><td>Custom email cc address.<\/td><\/tr><tr><td>XXXCUSTOMEMAIL<\/td><td>Custom email address recipient.<\/td><\/tr><tr><td>XXXCUSTOMSUBJECT<\/td><td>Custom email&#8217;s subject.<\/td><\/tr><tr><td>XXXCUSTOMATTACHMENT<\/td><td>Custom attachment&#8217;s filename.<\/td><\/tr><tr><td>XXXRETURNERRORURL<\/td><td>Return URL.<\/td><\/tr><tr><td>XXXCARDHOLDERNAME<\/td><td>Name of credit card holder<\/td><\/tr><tr><td>XXXPASSWORD<\/td><td>A random password string (for Direct Feed clients only)<\/td><\/tr><tr><td>XXXTESTMODE<\/td><td>Status of your registration pages. 0 = Live, 1 = Accept All, 2 = Decline All.<\/td><\/tr><tr><td>NUMREGISTRANTS<\/td><td>Number of registrations in succession by the same user (every time &#8216;Register Another&#8217; is clicked by the same user, this number increases by one)<\/td><\/tr><tr><td>LANGUAGE<\/td><td>Language of the registration web pages (English or French)<\/td><\/tr><tr><td>MESSAGE1<\/td><td>Corresponds to the text that is defined in event definition under the &#8216;Message 1&#8217; prompt.<\/td><\/tr><tr><td>MESSAGE2<\/td><td>Corresponds to the text that is defined in event definition under the &#8216;Message 2&#8217; prompt.<\/td><\/tr><tr><td>MESSAGE3<\/td><td>Corresponds to the text that is defined in event definition under the &#8216;Message 3&#8217; prompt.<\/td><\/tr><tr><td>DATETIME<\/td><td>Returns registrantion date and time<\/td><\/tr><tr><td>DATE<\/td><td>Returns registrantion date<\/td><\/tr><tr><td>DATE_MDY<\/td><td>Returns registrantion date and time in the form of MDY<\/td><\/tr><tr><td>DATE_MMMDDYYYY<\/td><td>Returns registrantion date and time in the form of MMMDDYYYY<\/td><\/tr><tr><td>DATE_YYYYMMDD<\/td><td>Returns registrantion date and time in the form of YYYYMMDD<\/td><\/tr><tr><td>effective_date[date_format][yyyymmdd]<\/td><td>Return the date in the variable if registration date is prior to that date. if not, return the registration date.<br>date_format:<br>%M %e, %Y &#8211; April 5, 2017<br>%M %D, %Y &#8211; April 5th, 2017<\/td><\/tr><tr><td>EMBEDDED_IMAGE=<b>xxx<\/b><\/td><td>Embed an image in email body. The image needs to be uploaded in the images directory.  (HTML email only)<br>(e.g. EMBEDDED_IMAGE=logo.gif)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All the following variables will be replaces with the appropriate data. They must be enclosed between &#8220;%% %%&#8221; to work (e.g. %%amount_paid%%). Variables Variable Variable Definition in eTickets EMAIL Registrant&#8217;s Email EMAIL_PRINTABLE_INVOICE_LINK A URL link to the printable invoice. EVENT_NAME Name of your event as defined in event definition EVENT_BADGENAME Badge name of your event [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":{"0":"post-895","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-events","7":"entry"},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7kUZg-er","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":13,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":1415,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/895\/revisions\/1415"}],"wp:attachment":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}