RRP Savings
I have followed the instructions to enable this from the Advanced User Guide for V10....I have done it and it works fine, however, I was wondering what I needed to do to make the words or the numbers stand out a little more, say making them bold or red for example ?
<actinic:block php="true">
$rrp = <actinic:variable name="RRP" selectable="false" />;
$rawprice = <actinic:variable name="ProductPriceRaw" selectable="false" />;
$rawprice = $rawprice * 1.20; // add in vat if showing VAT inc prices
// only display is we have an RRP and there's a saving to show
if ( ($rrp != 0) && ($rrp > $rawprice) )
{
$savepercent = round((($rrp - $rawprice) / $rrp) * 100);
echo "RRP £$rrp - you save $savepercent%";
}
</actinic:block>
I have followed the instructions to enable this from the Advanced User Guide for V10....I have done it and it works fine, however, I was wondering what I needed to do to make the words or the numbers stand out a little more, say making them bold or red for example ?
<actinic:block php="true">
$rrp = <actinic:variable name="RRP" selectable="false" />;
$rawprice = <actinic:variable name="ProductPriceRaw" selectable="false" />;
$rawprice = $rawprice * 1.20; // add in vat if showing VAT inc prices
// only display is we have an RRP and there's a saving to show
if ( ($rrp != 0) && ($rrp > $rawprice) )
{
$savepercent = round((($rrp - $rawprice) / $rrp) * 100);
echo "RRP £$rrp - you save $savepercent%";
}
</actinic:block>
Comment