Page 1 of 1

*SOLVED* Move reward point text

Posted: Sun Feb 16, 2014 2:53 am
by MatthewB
Hi

Can anyone tell me which code I move so that I can move the text that states how many reward points are earned to below the price on the product page

see image attached
move-reward-points.jpeg

move-reward-points.jpeg (137.1 KiB) Viewed 891 times


Re: Move reward point text

Posted: Sun Feb 16, 2014 5:10 am
by MatthewB
I managed to solve this myself moving a bit of code round in the product.tpl file

<?php if ($reward) { ?>
<span class="reward"><small><?php echo $text_reward; ?> <b><?php echo $reward; ?></b></small></span><br />
<?php } ?>
<?php if ($points) { ?>
<span class="reward"><small><?php echo $text_points; ?> <b><?php echo $points; ?></b></small></span><br />
<?php } ?>

only thing I can't do is work out how I can make the number of points after the text a different colour to the text?

EXAMPLE reward points earned: 20

Re: Move reward point text

Posted: Sun Feb 16, 2014 7:56 pm
by MatthewB
All sorted