osCommerce
 
Integration with osCommerce is made by placing sale tracking script into the confirmation page. To obtain the values of OrderID and TotalSale, snippet connects to osCommerce database and retrieves the values from there.
 
LEAD Code Integration 1 Find file checkout_success.php
Find and open file checkout_success.php in osCommerce source files.
LEAD Code Integration 2 Locate right place for integration
Inside the file find this line if ($global['global_product_notifications'] != '1') { ...
it should be somewhere after <! DOCTYPE ........> line.
LEAD Code Integration 3 Add integration code
insert the following code just above that line
Javascript Code
 OR
Image Code
 
Please take care to replace <?=$orderId?> and <?=$orderAmount?> in the sale code with your server side script notations for the orderid and total amount variable used in your website.
LEAD Code Integration 4 Integration is finished
Affiliate Network Pro is now integrated. Every time customer enters the order confirmation page the tracking code is called and it will register a sale for referring affiliate.
 
 
Copyright 2009 © Affiliate Network Pro