If you need to show List Price, Our Price and Money Saved.. use this code Snippet
List Price:<?php print uc_currency_format($node->list_price); ?><br />
Our Price:<?php print uc_currency_format($node->sell_price); ?><br />
<?php $savings = $node->list_price - $node->sell_price;
$node_field[0]['value'] = round( ($savings/$node->list_price)*100, 0 );?>
You Save: <?php print uc_currency_format($savings); ?>I haven't tried the above code but I need to show in text and not in a form the name or each attribute (bottle size in my case ie: 1L, 4L, 10L, etc.. and the value associated with attribute.



Joined: 01/11/2008