Display member's points

List of all the variables available in Liquid to display information about the points owned by a loyalty member.

Example

Hello, 

You currently have {{ loyalty.balance.nq_points }} points available in your loyalty program ! 

But becareful on {{ loyalty.balance.next_expiration.nq_points.date | date: '%Y-%m-%d' }} some of theses points ({{ loyalty.balance.next_expiration.nq_points.value }}) will expire ! 

Make sure to use them before !

List of all available variables

All variables refer to the points the loyalty member associated to the contact owns. Availability of the variables depends on how your loyalty program is configured, for example:

  • If you have a simple program, members can't earn Q points, so the variable {{ loyalty.balance.q_points }} will always be 0.
  • If your program doesn't have any holding period for points, the variable {{ loyalty.balance.pending_q_points }} will always be 0.
Liquid variableDescription
{{ loyalty.balance.q_points }}The total number of available qualifying points.
{{ loyalty.balance.nq_points }}The total number of available non-qualifying points.
{{ loyalty.balance.pending_q_points }}The number of qualifying points that are in holding period.
{{ loyalty.balance.pending_nq_points }}The number of non-qualifying points that are in holding period.
{{ loyalty.balance.next_expiration.nq_points.date }}The date on which the next set of non-qualifying points will expire.
{{ loyalty.balance.next_expiration.nq_points.value }}The number of non-qualifying points that will expire at this date.
{{ loyalty.balance.next_expiration.q_points.date }}The date on which the next set of qualifying points will expire.
{{ loyalty.balance.next_expiration.q_points.value }}The number of qualifying points that will expire at this date.