Hi,
Can someone please advise me if the below coding from oscommerce to show on orders in admin and order slip sent to the customer will work in zencart? If not, how can i recode this to work in zencart?
if($HTTP_GET_VARS['oID'] > 78)
{
$hold = ltrim($order->totals[0][text], "Kr.");
$hold = str_replace(",", "", $hold);
echo "The following Norweigan local Tax Rate of 25% on products total of " . $order->totals[0]['text'] . " is: " . $currencies->format($hold * .25, false, $order->info['currency'], $order->info['currency_value']) . " and is included .\nInternational customers are responsible for their local taxes and fees." ;
?>
<br/><br/><?php
echo "Lokale Moms 25% på produkt total " . $order->totals[0]['text'] . " er: " . $currencies->format($hold * .25, true, $order->info['currency'], $order->info['currency_value']) . " og er inkludert. Internasjonale kunder er selv ansvarlig for deres lokale Moms kostnader. \n\n" ;
}
else
{
$hold = ltrim($order->totals[0][text], "Kr.");
$hold = str_replace(".", "", $hold);
$subT = $currencies->format($hold, false, $order->info['currency'], $order->info['currency_value']);
echo "The following Norweigan local Tax Rate of 25% on products total of " . $subT . " is: " . $currencies->format($hold * .25, true, $order->info['currency'], $order->info['currency_value']) . " and is included .\nInternational customers are responsible for their local taxes and fees." ;
?>
<br/><br/><?php
echo "Lokale Moms 25% på produkt total " . $subT . " er: " . $currencies->format($hold * .25, true, $order->info['currency'], $order->info['currency_value']) . " og er inkludert. Internasjonale kunder er selv ansvarlig for deres lokale Moms kostnader. \n\n" ;
}



