Home
Integration Methods
CS-Cart
1
Login
Login and go to: Admin panel > Look and feel > Template editor
2
Edit template
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
Integration
Add following code before last {/if}:
4
Latest versions of CS-Cart
Latest versions has a different approach in the integration... you need to change a line in the code above.
That's it. You are now ready for test order.
5
If previous steps don't work (probably since version 2.1.3 of CS-Cart)
Add into file /skins/[ACTIVE_SKIN]/customer/views/checkout/complete.tpl
right after {* place any code you wish to display on this page right after the order has been placed *}
this tracking code:
If it creates duplicates, set fraud protection for sale "Recognize duplicate orders comming with the same order ID within x hours".
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.