| eCommerce Templates |
| |
| Integration with eCommerce Templates is made by placing sale tracking script into the confirmation page.
|
| |
1 Locate file thanks.php
|
| Find and open file thanks.php. |
|
2 Locate integration place
|
| Find the following line which already exists in the file: <?php include "vsadmin/inc/incthanks.php" ?> |
|
3 Integration
|
| Put following code right after this line. |
|
Javascript Code
|
|
|
| OR |
|
Image Code
|
|
|
| |
|
4 Finished
|
| Post Affiliate 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. |
|
| |
| If you want to calculate commissions from price without shipping tax, then instead of variable $ordGrandTotal use this variable: $ordTotal
|
| |