Mambo-phpShop
- Open and edit the template file that displays order confirmation page. It is the file/mambo/administrator/components/com_phpshop/classes/ps_checkout.php
- Find the following code which should already exist in the file:
if (AFFILIATE_ENABLE == ’1′) { $ps_affiliate->register_sale($order_id); } - Cut/Paste the following code into the file, under the code found above:
<img src=”http://YOURSITE.com/index.php?plugin=wafp&controller=transactions&action=track&amount=$order_subtotal&order_id=$order_id” height=”1″ width=”1″ />
* It is now integrated. Every time a customer enters the order confirmation page the tracking code is called and it will register a sale for the referring affiliate.
Last Updated: July 31, 2012