Commission Integration with CS-Cart
To integrate Affiliate Manager with CS-Cart, follow these steps:
- Open up the following file for editing:
/skin/TEMPLATE_NAME/customer/views/orders/details.tpl
- where TEMPLATE_NAME is the name of the CS-Cart template that you are using.
- 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">
- Save the file and reupload to the same folder it was in.