mambo-phpShop
 
Integration with mambo-phpShop is made by placing sale tracking script into the order confirmation page.
 
LEAD Code Integration 1 Edit template
open and edit the temlate file that displays order confirmation page. It is the file/mambo/administrator/components/com_phpshop/classes/ps_checkout.php
LEAD Code Integration 2 Locate integration place
Find the following code which should already exist in the file. if (AFFILIATE_ENABLE == '1') { $ps_affiliate->register_sale($order_id); }
LEAD Code Integration 3 Integration
Cut/Paste the following code into the file, under the code found above:
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 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.