Having a little trouble with this script for affiliate future regarding the {order.total}
This is the script im using, it seems to take the orderid ok but when i view page source the order.total is completley blank (just shows '')
can anyone see anything wrong with this code
Code:
{literal}
<script language="javascript" src="https://scripts.affiliatefuture.com/AFFunctions.js"></script>
<script language="javascript">
var merchantID = 965;
var orderValue = '{/literal}{$order.total}{literal}';
var orderRef = '{/literal}{$orderids}{literal}';
var payoutCodes = '';
var offlineCode = '';
AFProcessSaleV2(merchantID, orderValue, orderRef,payoutCodes,offlineCode);
</script>
{/literal}