Allow Rewards Points merge code to show in Rewards Payment area
CompletedWe want to be able to show customers how many points and the value of the points they have to spend in the payment section of the checkout where it asks them how many they want to spend. Currently the Rewards Points merge code does not work in the Rewards Payment section, only in the floating cart. I used a JS hack to copy it from the floating cart to show it to the customers in the rewards payment section, but I would rather render it directly rather than using a JS hack.
Here is an example:
-
Hey Josh - can you share which merge code(s) you're using to enable this experience?
0 -
I have the following in the floating cart and am using JS to copying it to the Rewards Payment section:
<div id='Available_Rewards' class='alert alert-info'>
<b>Cost in ##REWARDPOINTSLABEL##:</b> <span id='TotalInPoints'>$$TOTALINPOINTS$$</span> ##REWARDPOINTSLABEL##<br>
<b>Available to Spend:</b> <i>##ACTIVEREWARDPOINTS## ##REWARDPOINTSLABEL## (approx: $##ACTIVEREWARDSDOLLARAMOUNT##)</i>
</div>I am also using JS to fill in the "How many do you want to spend" field with the lesser of ##ACTIVEREWARDPOINTS## and $$TOTALINPOINTS$$, since that is usually what customers want anyway.
0
Please sign in to leave a comment.
Comments
2 comments