Affiliate Software Documentation

Commission Integration with CS-Cart

To integrate Affiliate Manager with CS-Cart, follow these steps:
  1. Open up the following file for editing:

     /skin/TEMPLATE_NAME/customer/views/orders/details.tpl

  2. where TEMPLATE_NAME is the name of the CS-Cart template that you are using.
  3. On the last line at the end of the file, add the following integration code:

    <img border="0" src="http:/www.domain.com/affiliates/sale/amount/{include file="common_templates/price.tpl" value=$product.display_subtotal}/trans_id/{$order_info.order_id}" width="1" height="1">
    
  4. Save the file and reupload to the same folder it was in.