Home Integration Methods mambo-phpShop

mambo-phpShop

Integration with mambo-phpShop is made by placing sale tracking script into the order confirmation page.
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
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); }
3
Integration
Cut/Paste the following code into the file, under the code found above:
4
Finished
It 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.