ozema Posted July 8, 2015 Share Posted July 8, 2015 Hello everyone,I'm trying to integrate a script to my cubecart affiliated store. In the directions of integration and meeting the following steps:=========================================================================================================you need to add two codes:- one for tracking visits- one for tracking purchases1.- For tracking - find a page or script in your CubeCart install, that is responsible for showing the footer of your site, you must include here this code:<?phprequire_once('easy_affiliate.class.php');$easy_affiliate->startTracking();?>2.- For purchases: after this you need to find the script where the purchase is inserted into your database and add this coderequire_once('easy_affiliate.class.php');$easy_affiliate->markBuy($id_user, $id_order, $price, $is_paid);3.- where these variables $id_user, $id_order, $price, $is_paid you need to replace with the respective ones from the cubecart code.=====================================================================================================I have installed the version 6.0.4 (installed using softaculous)The skin I'm using is the default one, called FOUNDATIONCan someone help me locate the files where should I put the codes?Can someone help me define what are the variables I should change?Thanks for your time, I wait for your comments. Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.