Affiliate Software Documentation

Commission Integration with Ecwid

To integrate the affiliate software with Ecwid Shopping Cart, please follow these steps:

  1. Login to your Ecwid admin area and go to System Settings > Cart
  2. Scroll down to the section for Checkout Settings and enable the option for Affiliate Code on Thank You For Your Order page
  3. 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>


  4. Make sure to change the www.domain.com/affiliates to point to your own JAM installation URL

SSL Pages Require SSL Affiliate Integration URLs
* If You Are Using SSL On The Pages Where The Integration Code Is Being Added, Make Sure To Change The Affiliate URL On The Integration Code To Use SSL (Https://) As Well.