Installing AffiliatesFuture Code on WordPress Site

This is the code given by the Company:

<img src="https://scripts.affiliatefuture.com/AFSaleV2.asp?orderID=ORDER_REF&orderValue=ORDER_VALUE&merchant=6920&payoutCodes=&offlineCode=&voucher=&products=&img="yes"&r=" alt="sale" />
<script language="javascript" src="https://scripts.affiliatefuture.com/AFFunctions.js"></script><script language="javascript">

var merchantID = xxxx;
var orderValue = 'ORDER_VALUE';
var orderRef = 'ORDER_REF';
var payoutCodes = '';
var offlineCode = '';
var voucher = '';
var products = '';
AFProcessSaleV2(merchantID, orderValue, orderRef,payoutCodes,offlineCode, voucher, products);
</script>

As per the instructions,

ORDER_VALUE -This should be replaced with the value of the order as a number (e.g. 10.50). Note, this should NOT include symbols such as ‘ ‘. You will be able to get this value dynamically from your e-commerce shopping software.

ORDER_REF – This should be replaced with the order reference. Note, if your order reference contains letters aswell as numbers, you MUST enclose this reference within single quotes. Again, you will be able to get this value dynamically from your e-commerce shopping software.

How to populate these values dynamically? I am using Optimize Member theme and Third party buy buttons for our products.

Read more here: Installing AffiliatesFuture Code on WordPress Site

Leave a Reply

Your email address will not be published. Required fields are marked *