All Collections
Loyalty
Introduction
Appstle Loyalty & Rewards - Dynamic Variables
Appstle Loyalty & Rewards - Dynamic Variables
Joshua Kye avatar
Written by Joshua Kye
Updated this week

Below are tables that lists the dynamic variables in Appstle Loyalty for use with custom HTML emails.

Variable

Description

{{ subject }}

Use for additional text for subject, like Welcome to {{ shop.name }} loyalty program.

{{ text_color }}

Used to change the text color of emails.

{{templateBackgroundColor}}

Used to change the email template background color.

{{header_background_color}}

Used to change the header background color of the email template.

{{ logo_url }}

For including your logo URL in the email template header.

{{ logo_height }}

Used to resize the logo URL above.

{{header_text_color}}

Used to change header text color.

{{heading}}

Used for adding a heading to an email, like Welcome to our loyalty program.

{{templateBackgroundColor}}

Used to change the email template background color.

{{ text_color }}

Used to change the text color of the email.

{{ body_content | newline_to_br }}

For adding body content to an email template.

{{available_points_label}}

For adding your content to available points.

{{availablePoints}}

Lists the existing (or Available) points.

emailSettingType == "MONTHLY_REWARD_REMINDER" %}

Variable

Description (if applicable)

{{rewardsAvailableHeadingColor}}

Used to change the heading color of available rewards.

{{rewardsAvailable}}

The rewards generated will be displayed in the email template this is used in.

if (emailSettingType == "REWARD_AVAILABLE_REMINDER" or emailSettingType == "REFERRAL" or emailSettingType == "REFERRAL_LINK")

Variable

Description (if applicable)

{{redirectLink}}

Redirect link for accepting a referral.

{{claimNowButtonBorderColor}}

Used to change the border color of the Claim button.

{{ claimNowButtonTextColor }}

Used to change the text color of the Claim button.

{{ claimNowButtonBackgroundColor }}

Used to change the background color of the Claim button.

{{claimNow}}

Used to change the text content of the Claim button.

{%endif}

{% for reward in rewardsSummaries %}

Variable

Description (if applicable)

{{shop.domain}}

This is the obtained shop name.

{{claimNowButtonBorderColor}}

Used to change the border color of the Claim button.

{{ claimNowButtonTextColor }}

Used to change the text color of the Claim button.

{{ claimNowButtonBackgroundColor }}

Used to change the background color of the Claim button.

{{claimNow}}

Used to change the text content of the Claim button.

{{reward.discount}}

The obtained discount.

{{reward.note}}

The obtained rewards in the email template.

{{reward.points}}

The obtained reward points.

{{referralLink}}

Used to send referral links through third-party email apps.

{% endfor %}

Variable

Description (if applicable)

{{footer_background_color}}

Used to change the footer background color.

{{ footer_text_color }}

Used to change the footer text color.

{{ footer | newline_to_br }}

Used to change the text content of footer.

Did this answer your question?