Affiliate Software Documentation
Commission Integration with Ecwid
To integrate the affiliate software with Ecwid Shopping Cart, please follow these steps:
- Login to your Ecwid admin area and go to System Settings > Cart
- Scroll down to the section for Checkout Settings and enable the option for Affiliate Code on Thank You For Your Order page
- Add the following code:
<script type="text/javascript"> var image; image = window.document.createElement('img'); image.src = "http://www.domain.com/affiliates/sale/amount/%order_total%/trans_id/%order_id%"; window.document.body.appendChild(image); </script>
- Make sure to change the www.domain.com/affiliates to point to your own JAM installation URL