V12 Rental Email notifications

Modified on Thu, 13 Jul 2023 at 11:06 AM

The rental email confirmations, sent to the shopper and the administrator on finalizing a rental contract, have been updated for V12 sites to include more information. This update can be opted out of by setting the new Configuration Email.UseV12RentalNotifications to false. This reverts back to the original style and email topics.


New Configurations
  • Email.UseCustomEmails - If set to TRUE, the site will use the new email system for v12.
  • Email.UseV12RentalNotifications - TRUE by default, if set FALSE this reverts back to the V11-style email confirmations to the shopper/administrator on a successful rental contract (after submitting on AeRntFinalize).
  • Email.AeRentalMailerV12Template - Specifies the topic to use for the "Mailer" email sent to the Shopper to confirm a new rental.
  • Email.AeRentalNotificationV12Template - Specifies the topic to use for the "Notification" email sent to the Administrator to confirm a new rental.
New Prompts
  • Email.AeRentalMailerV12.Subject- Default Value: '{{StoreName}} - Online Rental Ref# {{WebRef}}'
    • The subject line of the new V12 Shopper email rental confirmation.
  • Email.AeRentalNotificationV12.Subject - Default Value:'New Online Rental Ref# {{WebRef}}'
    • The subject line of the new V12 Administrator email rental confirmation.
New Topics
  • Email.Templates.AeRentalMailerV12 - This topic controls the email contents of the Shopper rental confirmation. It thanks them for placing the rental and provides basic information about it including Student Name, rental address, delivery options, notes, accessories, and maintenance information.
  • Email.Templates.AeRentalNotificationV12 - This topic controls the email contents of the Administrator rental confirmation. It has similar information to the Shopper email but is more brief.

Email Tokens

The new topics (Email.Templates.AeRentalMailerV12 and Email.Templates.AeRentalNotificationV12 ) support these tokens and they are used in the following example...
{{#IF StudentName}}
<tr>
<td>Student's Name:</td>
<td>{{StudentName}}</td>
</tr>
{{/IF}}... 
<tr>
<td>Phone:</td>
<td>{{CustomerPhone}}</td>
</tr>
<tr>
<td>School:</td>
<td>{{School}}</td>
</tr>
<tr>
<td>District:</td>
<td>{{District}}</td>
</tr>
<tr>
<td>Instrument:</td>
<td>{{Instrument}}</td>
</tr>

List of Tokens

Most tokens listed below are self-explanatory and are directly carried over from the contract form fields that the shopper fills in:
  • CustomerAddress1
  • CustomerAddress2
  • CustomerName
  • CustomerPhone
  • DeliveryDate
  • DeliveryOption
  • District
  • Instrument
  • RentalNotes
  • School
  • StoreName
  • StudentName
  • WebRef : rental contract reference number.
  • StudentName : prints out the student name entered on the AeRntFinalize form.
  • StudentGrade : prints out the student's grade entered on the AeRntFinalize form.
  • InstrumentCondition : prints out the condition (used, new) of the instrument in the contract.


IMPORTANT NOTE: There is a code issue with the topic text for the V12 rental Mailer and Notification where the {{ELSE}} tags are not inside the {{IF}} tags in a few places. This needs changed or the mailers will not work. There is one instance of this in the Email.Templates.AeRentalMailerV12 and three in the Email.Templates.AeRentalNotificationV12


From:

            <td>Rental Notes:</td>

            {{#IF RentalNotes}}

            <td>{{RentalNotes}}</td>

            {{/IF}}

            {{#ELSE}}

            <td>N/A</td>

            {{/ELSE}}


To:

            <td>Rental Notes:</td>

            {{#IF RentalNotes}}

            <td>{{RentalNotes}}</td>

            {{#ELSE}}

            <td>N/A</td>

            {{/ELSE}}

            {{/IF}}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article