Affiliate Software Documentation
Commission Integration with X-Cart
To integrate JAM with X-Cart, follow these steps:
- Open up the template file /customer/main/order_message.tpl for editing.
- Add the following integration code within the template code as given:
<TD align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"} </TD> </TR> </TABLE> <!--- START JAM INTEGRATION CODE ---> {literal}<img src="http://www.yourdomain.com/affiliates/sale/amount/{/literal}{section name=oi loop=$orders}{$orders[oi].order.subtotal}{/section}{literal}/trans_id/{/literal}{section name=oi loop=$orders}{$orders[oi].order.orderid}{/section}{literal}" alt="" />{/literal} <!-- END JAM INTEGRATION CODE -->