Affiiate program code help
We're trying to integrate an affiliate program into our order confirmation page. After doing a little research I figure we need to add it to the order_message.tpl The code is for a tracking pixel. I'm not sure how to get the variables they require to match up to the ones in order_message.tpl
Here is the sample php code they provided:
<img src="https://www.shareresults.com/t/sale.php?mid=xxxx&clid=<?=$_REQUEST["customerID"];?>&orderid=
<?=$REQUEST["orderID"];>&revamnt=<?=$_REQUEST["netamnt"];?>&purchamnt=<?=$REQUEST["grossamount"];?>" border=0 width=0 height=0>
Where the required variables are:
mid: your SR assigned merchant ID.
clid: your unique customer ID, identifying each customer account.
orderid: your unique order ID, identifying each order/purchase.
revamnt: net sale amount, not including shipping, taxes, or any other charges.
purchamnt: gross sale amount. It's the total purchase amount including any other charges.
How should I alter the above sample so that it play's nicely with Xcart?
Thanks In advance!
__________________
X-Cart Version 4.4.4
|