Jump to content

Yahoo Affiliate


Recommended Posts

Guest vfelmlee
Posted

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

  • 2 weeks later...

Posted

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);



}



?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...