Points for cart

Use this component to display how many points a customer will earn for their entire cart.

Explanation

The attribute value should be the total server-side value of the current cart. If you’re using Shopify, you can get this value in Liquid using {{ cart.total_price }}.

Please note that the points shown here only include points awarded for the purchase rule.

Code

Example for Shopify

<!-- points customer will earn for entire cart -->
<span data-lion-points-for="{{ cart.total_price }}"></span>