medisave Posted November 5, 2002 Posted November 5, 2002 Hello, I need to insert the following javascript to checkout_success. <script language="JavaScript"> <!--start function noelPopup() { var popupURL = "http://www.yoursite.com/cgi-bin/affiliates/sale.cgi?cashflow=###price###"; var popup = window.open(popupURL,"Popup",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,w idth=300,height=100'); if( navigator.appName.substring(0,8) == "Netscape" ) { popup.location = popupURL; } } noelPopup(); // --> </script> However i need the ###price### bit to pass the price total so i need to replace it with $ordertotal etc Ive tried a few things but cant get it to work. Ideally I would likle it to pass the just the subtotal (before shipping and tax) - any ideas on what i should be putting here. I need this code for my affiliate (www.groundbreak.com) script to function properly on my oscommerce sites. Cheers, Graham Wright www.medisave.co.uk Graham Wright ________________
Recommended Posts
Archived
This topic is now archived and is closed to further replies.