I think I have it worked out. I was looking at this thread http://www.zen-cart.com/showthread.p...-product-total and at the bottom of the first page it has this bit of code
Code:
function process() {
global $order, $currencies;
if ($_SESSION['shipping'] == 'free_free') {
$this->output[] = array('value' => $order->info['shipping_cost']);
}
else {
$this->output[] = array('title' => $order->info['shipping_method'] . ':',
'text' => $currencies->format($order->info['shipping_cost'], true, $order->info['currency'], $order->info['currency_value']),
'value' => $order->info['shipping_cost']);
}
}
but I wasn't sure where to put it. I have replaced this code in ot_shipping.php
Code:
function process() {
global $order, $currencies;
$this->output[] = array('title' => $order->info['shipping_method'] . ':',
'text' => $currencies->format($order->info['shipping_cost'], true, $order->info['currency'], $order->info['currency_value']),
'value' => $order->info['shipping_cost']);
}
with the one above and it seems to be working. So hope this will be a bit clearer to someone else trying the same thing.
Thanks
Bookmarks