Hi
I'm trying to integrate a script from BuySafe (a "buyer protection" website). One part of their code goes on the last page of checkout. They need the orderid, subtotal and email variables put in their script so they can log the order. Kind of like some conversion tracking mods I guess.
We use FEC and COWOA. I got the order ID in there but subtotal is on the previous page, and email may not exist since we have FEC and COWOA. I've tracked back and the only places I find it are a sessionid and grabbing the last record created from somewhere.
Can someone give me a hand with this?
It goes in here. The blanks are hash marks and checking for shop status and other things like that.
Code:
<script type="text/javascript">
. . .
{
xxx.Guarantee.order = "...order number goes here...";
xxx.Guarantee.subtotal = "...item subtotal goes here...";
xxx.Guarantee.email = "...buyer email goes here...";
. . .
}
This next thing works. We made a var to hold the orderid then put that into the script. We can't figure out the email and subtotal.
var bs_orderid=0.00;
bs_orderid = <?php echo $zv_orders_id;?>
-------------------------
xxx.Guarantee.order = bs_orderid;
Thanks!
Bookmarks