- Code: Select all
<script type="text/javascript">
document.write(unescape("%3Cscript id=%27pap_x2s6df8d%27 src=%27" + (("https:" == document.location.protocol) ? "https://" : "http://") + "my.goaff.com/scripts/trackjs.js%27 type=%27text/javascript%27%3E%3C/script%3E"));
</script>
<script type="text/javascript">
PostAffTracker.setAccountId('3be8fb64');
var sale = PostAffTracker.createSale();
sale.setCurrency('LVL');
sale.setTotalCost('120.50');
sale.setOrderID('30D1234');
PostAffTracker.register();
</script>
There is Pre-selected order total field where I can enter the TotalCost from the script, but the affiliate system also require order_id. Is there a way I can set the pre-selected orderID and the checkout would search and replace it too?
I pasted the script into the textarea and saved, but now it appears all messed up.
where should be
- Code: Select all
<script type="text/javascript">
now is
- Code: Select all
<script type=\\\"text/javascript\\\">
I try to correct it, but if I do and press save nothing changes.
Could you please help me with this?