Hi. What I have decided to do is the following:
<?php $vat = $pass->TotalColumn("myvat");
$delivery = $pass->GetCharges();
$subtotal = $pass->TotalColumn("TotalPrice");
$vatdelivery = $vat + $delivery + $subtotal;
It works great accept for when I use Universal email to send the mail with this code in it. Instead of showing the $vatdelivery amount it is blank. Should I try get this into a session variable or something?