Integrating an Affiliate system

  • June 22, 2021
  • 0 Comments
JROX:

To enable the JROX affiliate system to parse orders from ClientExec, include one of the following lines of code in the line 36 of the files:

  • /templates/order_forms/compare/signuppublic/success.phtml
  • /templates/order_forms/default/signuppublic/success.phtml
  • /templates/order_forms/default_domains/signuppublic/success.phtml

If tax should be included in the affiliate amount:
<img border="0" src="<a href="http://yourdomain.com/path_to_jrox/sale/amount/">http://yourdomain.com/path_to_jrox/sale/amount/</a><?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="<a href="http://yourdomain.com/path_to_jrox/sale/amount/">http://yourdomain.com/path_to_jrox/sale/amount/</a><?php echo $this->invoice_amount_no_tax;?>/trans_id/<?php echo $this->invoice_id;?>/" width="1" height="1">


iDevAffiliate:

To enable the iDevAffiliate affiliate system to parse orders from ClientExec, include one of the following lines of code in the line 36 of the files:

  • /templates/order_forms/compare/signuppublic/success.phtml
  • /templates/order_forms/default/signuppublic/success.phtml
  • /templates/order_forms/default_domains/signuppublic/success.phtml

If tax should be included in the affiliate amount:

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

If tax should not be included in the affiliate amount

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

How helpful was this article to you?