Hi

Can you help me "translate" this instruction from osc to zencart.
This is some lines I can add in OSC to use a danish site service at my shop - and I would like to use that in Zencart instead
Seems to be almost the same, so one of you genies can maybe fast edit that :)

Instruction for OSC:
----------------------------------------------------
In the file checkout_process.php you will have to add some code after this line
// load the after_process function from the payment modules

Code to add:
$orders_total=$cart->show_total()- $total_tax;
tep_session_register('orders_total');
$orders_id=$insert_id;
tep_session_register('orders_id');

--------------------------

In the file checkout_success.php you will have to add some code after this line
<h3><?php echo TEXT_THANKS_FOR_SHOPPING; ?></h3></td>

Code to add:
<?php
echo '<img height=1 width=1 border=0 src="http://www.engodsag.dk/affiliate/salestracking.php?shopnetworkid=XXXXX&orderamount=' . $orders_total . '&orderid=' . $orders_id . '" />';
tep_session_unregister('orders_total');
tep_session_unregister('orders_id');
?>

----------------------------------------------------



Hope someone can help me "translate" the code from OSC to Zencart. I have tried using it as it is, but that dosent work (found files, and find out where to put it, but the code was the problem)

I use Zencart 1.3.6, but I think it will be the same in 1.3.8 - so I really hope you will help me anyway

Thanks a lot if you will help me :)
That would be a great help

Kind regards
Kim