User Manual

CS-Cart

  1. Login and go to: Admin panel > Look and feel > Template editor.
  2. Open file: /skins/[ACTIVE_SKIN]/customer/orders_pages/order_details.tpl.
    NOTE: If you have latest version, the file for integration is called details.tpl -> This file is located in the “skins/[ACTIVE_SKIN]/customer/views/orders” and in the “skins/basic/admin/views/orders” directory of your CS-Cart installation.
  3. Add following code before last {/if}:
    <img src=”http://YOURSITE.com/index.php?plugin=wafp&controller=transactions&action=track&amount={$order_info.subtotal}&order_id={$order_info.order_id}&product_id={$oi.product_code}” height=”1″ width=”1″ />

* This is all that is required. Now whenever there’s sale, the sale tracking script sale.php is called, and it will generate commission for the affiliate.

Last Updated: July 31, 2012
Was this article helpful?