We have made it easy to integrate OSI Affiliate software with the Shopwired shopping cart. Simply follow the step-by-step instructions below. If you would like our technical team to integrate the software for you, simply request our free integration service.


Step 1. From your Admin Dashboard click on set up the software and then If you did not complete the integration when prompted in the getting started wizard, you may do so by clicking the complete integration button below.  


Step 2. Fromt the dropdown menu, select Shopwired from the shopping cart and then copy the sale tracking code.


Step 3. To add the sale tracking code, log in to your Shopwired shopping cart.


Step 4. To install the code on your live theme select Themes > Installed Themes from the menu, and then select Page Editor on your live theme:


Step 5. In the left menu that then appears select the tick box beside ‘advanced mode disabled’ to enable advanced mode:


Step 6. Open the views folder and select Create new:

 

Step 7. In the box that appears enter the name as platform_checkout.twig and select create:

Then copy and paste the following code into the empty file page:

Step 8. Replace the ... in the above code with the code you copied from the Dashboard and click "Save Changes" on the top.

<script async>

function hideIF() {

document.getElementById('IF').style.visibility = '';

}

function getSaleInfo() {

document.getElementById('st_code').style.visibility = 'hidden';

document.getElementById('st_code').innerHTML='<iframe src="https://lyndemo2.ositracker.com/sales/salejs/amount:{{ order.total }}/transaction:{{ order.reference }}" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';

}

window.onload = getSaleInfo;

</script>

<div id="st_code"></div>


Note: And here is an example how would the code looks like. 

Then you should place a test order on your website, coordinated with your conversion tracking provider, to ensure that the code is working correctly.