User Manual

User Manual > Other Payment Integrations > eCommerce Templates

eCommerce Templates

Find and open file thanks.php.

Find the following line which already exists in the file:

Put following code right after this line:
<img src=”http://YOURSITE.com/index.php?plugin=wafp&controller=transactions&action=track&amount=$ordGrandTotal&order_id=$ordNum” 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.

Note: If you want to calculate commissions from price without shipping tax, then instead of variable $ordGrandTotal use this variable: $ordTotal.

Last Updated: July 31, 2012
Was this article helpful?