get order id, total, customer id on success confirmation
Posted: Fri Nov 27, 2015 1:06 am
Hi,
I'm trying to integrate affiliate tracking which needs to be placed on success.tpl but variables are already cleared before success page is displayed so that tracking code not getting values for the variable.
It needs value for following variable for affiliate tracking.
CRID=<?php echo $orderDetails['customer_id']; ?>
ORDERID=<?php echo $orderDetails['order_id']; ?>
ORDERAMNT=<?php echo $orderDetails['total']; ?>
CUR=<?php echo $orderDetails['currency']; ?>
I'll really appreciate if i get some hints how to get values for variable in success.tpl.
Thanks.
I'm trying to integrate affiliate tracking which needs to be placed on success.tpl but variables are already cleared before success page is displayed so that tracking code not getting values for the variable.
It needs value for following variable for affiliate tracking.
CRID=<?php echo $orderDetails['customer_id']; ?>
ORDERID=<?php echo $orderDetails['order_id']; ?>
ORDERAMNT=<?php echo $orderDetails['total']; ?>
CUR=<?php echo $orderDetails['currency']; ?>
I'll really appreciate if i get some hints how to get values for variable in success.tpl.
Thanks.