Hi everyone,
I purchased an affiliate PHP script so I can start an affiliate program, I am on the last steps of installation which is embedding a few lines of code on my website. The affiliate files are saved in a folder called affiliates, but I need to link to one of those files. If I add the code on my website without linking to it, my website has given me some error message. Here is the code I need to add on my website before any HTML output.
<?php
require_once('easy_affiliate.class.php');
$easy_affiliate->startTracking();
?>
This next piece of code is for the checkout page.
<?php
require_once('easy_affiliate.class.php'); // add this line if you havent already included this file
$easy_affiliate->markBuy($id_user, $id_order, $price, $is_paid);
?>
Thanks and hope everyone has a wonderful thanksgiving.