Quick.Cart integration
A free shopping cart script written in PHP.
This integration method was tested for Quick.Cart v2.2 by OpenSolutions.org.
Edit template
Open file ‘templates/orders_summary.tpl’
Integration
Find this line “<!– END COURIER –>” and add following code before this line:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
sale.setTotalCost('$aList[sSummary]');
sale.setOrderID('$aData[iOrder]');
PostAffTracker.register();
</script>
This is all that is required. Now whenever there’s sale, the saletracking script sale.php is called, and it will generate commission forthe affiliate.