Client portal

Integrating an Affiliate system

 June 6, 2014     0 Comments

JROX:
Include one of the following lines of code in the /templates/common/views/admin/signuppublic/success.phtml file in line 36 to enable the JROX affiliate system to parse orders from ClientExec. 

If tax should be included in the affiliate amount:

<img border="0" src="http://yourdomain.com/path_to_jrox/sale/amount/<?php echo $this->invoice_amount;?>/trans_id/<?php echo $this->invoice_id;?>/" width="1" height="1">

If tax should not be included in the affiliate amount

    <img border="0" src="http://yourdomain.com/path_to_jrox/sale/amount/<?php echo $this->invoice_amount_no_tax;?>/trans_id/<?php echo $this->invoice_id;?>/" width="1" height="1">

iDevAffiliate:
Include one of the following lines of code in the s/templates/common/views/admin/signuppublic/success.phtml file in line 36 to enable the iDevAffiliate affiliate system to parse orders from ClientExec.

If tax should be included in the affiliate amount:

<img border="0" src="http://yourdomain.com/idevaffiliate/sale.php?profile=35&idev_saleamt=<?php echo $this->invoice_amount;?>&idev_ordernum=<?php echo $this->invoice_id;?>/" width="1" height="1">

If tax should not be included in the affiliate amount

    <img border="0" src="http://yourdomain.com/idevaffiliate/sale.php?profile=35&idev_saleamt=<?php echo $this->invoice_amount_no_tax;?>&idev_ordernum=<?php echo $this->invoice_id;?>/" width="1" height="1">

How helpful was this article to you?

Posting has been disabled.