Points for rule

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

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 will be the points for the default tier
  • if a customer is logged in, this value will reflect their current tier membership

Code

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