Post by MatthewB » Sun Feb 16, 2014 2:53 am

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 681 times

Last edited by MatthewB on Sun Feb 16, 2014 7:57 pm, edited 1 time in total.

Matthew


Active Member

Posts

Joined
Sat Jul 23, 2011 5:18 am
Location - Sunderland Tyne and Wear

Post by MatthewB » Sun Feb 16, 2014 5:10 am

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

Matthew


Active Member

Posts

Joined
Sat Jul 23, 2011 5:18 am
Location - Sunderland Tyne and Wear

Post by MatthewB » Sun Feb 16, 2014 7:56 pm

All sorted

Matthew


Active Member

Posts

Joined
Sat Jul 23, 2011 5:18 am
Location - Sunderland Tyne and Wear
Who is online

Users browsing this forum: No registered users and 63 guests