Guest vfelmlee Posted October 19, 2006 Posted October 19, 2006 Good day everybody, I have a client that is trying to use the Yahoo affiliation, and have been given a script to tag onto the "thank you" Email. Is this considered an affiliation, or is it something very easy to do? I guess I am asking if anybody else has worked with yahoo, and how did they get it working? Thanks Quote
Guest NetNeo Posted October 28, 2006 Posted October 28, 2006 I have just made a suggestion to this ends for tracking all affiliate sales from the existing affiliate mods within cude cart. I think putting affiliate tracking into the orderSuccess file (the one that generates the email) would make the whole affiliate thing easier. I think you should put the code in the script here: $mail->setSubject($lang['front']['orderSuccess']['digi_subject'].$cart_order_id); $mail->setHeader('X-Mailer', 'CubeCart Mailer'); $send = $mail->send(array($order[0]['email']), $config['mailMethod']); } // -------- Insert the affiliate tracking code here //---------- and make sure its finished before this line // empty basket $emptyBasket['basket'] = "''"; $where = "basket LIKE '%".$cart_order_id."%'"; $delete = $db->update($glob['dbprefix']."CubeCart_sessions",$emptyBasket ,$where); } ?> Quote
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.