Points for rule

You can display the number of points that would be earned for a particular rule using this component.

Available on the Advanced plan and above.

The Points for rule component is currently only applicable for the signup rule. It doesn’t work for all other rules.

Explanation

Whenever we find this component on the page, we’ll set its innerHTML to the requested value.

If you’re using Loyalty Tiers:

  • if no customer is logged in, the value we set is the points for the default tier
  • if a customer is logged in, this value reflects their current tier membership

Code

<span data-lion-points-for-rule="signup"></span>