I have a really great Affiliate Program (with the most helpful guys I've come across) and I am trying to integrate it to Zen Cart.
The following code needs to be placed in the "checkout_success" page:
<script id="pap_x2s6df8d" src="http://www.capeinfo.co.za/affiliate/scripts/sale.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var TotalCost="XXXXXX";
var OrderID="XXXXXX";
var ProductID="XXXXXX";
papSale();
--></script>
The TotalCost is the Sub-Total (minus Tax & Shipping) since that is what affiliate payments are based on.
Where is the best place to put this and what are the codes that need to replace XXXXXX?
I have tried it there (and similar code on the index page), and impressions and click-throughs are being registered, but I can;t work out what needs to replace the XXXXXX's to register costs.
I am an absolute novice at doing this myself, but Zen Cart seems to be a great product so far, and your tutorials and help are outstanding.
Thanks for a fantastic job!



