converge
|
4 May 2011 3:32 PM
|
Is there a way to display Reward Points on all blocks.
Example to display the Reward points on the Latest Product Block or Top Sellers Block.
<!-- begin reward_points_block -->
<div class="rewardPointsBlock">{REWARD_POINTS_MSG}: <span id="reward_points_{item_id}" class="points">{reward_points}</span></div><!-- end reward_points_block -->
Copied as is to Latest and Top Seller blocks but it does not seem to display.
Any ideas anyone?
|
|
|
TOCDCO
|
4 May 2011 9:40 PM
|
Did you call the two variables yet? You might have to put a script to call/define those variables prior to displaying them on the page/block
|
|
|
converge
|
4 May 2011 9:45 PM
|
what variables to i need to call and where do i need to place them.
I copied this script from the Special Offers block and placed it at the top but that didnt help.
<script type="text/javascript">
//<![CDATA[
var requiredProperty = "{REQUIRED_PROPERTY_MSG}";
var addProduct = "{ADD_PRODUCT_MSG}";
var confirmAdd = "{confirm_add}";
//]]>
</script>
|
|
|
TOCDCO
|
4 May 2011 10:49 PM
|
I'll look into the script, and let you know, but that one that you just pasted is for adding products to a cart, nothing to do with points.
|
|
|
converge
|
|
|
converge
|
4 May 2011 10:51 PM
|
Last modified: 4 May 2011 10:51 PM
|
|
|