osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

javascript issue please help

This is a discussion on javascript issue please help within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, Very new here but if anyone can help I'd be very very grateful. I need to output the order ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 12-04-2007, 06:00 AM
Lurker
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mjpwall is on a distinguished road
Default javascript issue please help

Hi,

Very new here but if anyone can help I'd be very very grateful.

I need to output the order total and customer or order id to the following javascript that sends this info to a referer as part of a points reward system operated by a third party the code is:

Code:
<Script Language="JavaScript">
<!--//Begin
var winName = top.window.name;
var winNameArray = winName.split("_");
var MemberID = winNameArray[1];
var OfferID = winNameArray[2];

var transaction_value = 'WRITE_OUT_VALUE_OF_TRANSACTION_HERE';
var unique_identifier = 'WRITE_OUT_UNIQUE_IDENTIFIER_HERE';

if (top.window.name.substring(0,17)=="PigsBackMemberID_") {
document.write('<img src="https://www.pigsback.com/pb/callback.asp?mid='+MemberID+'&oid='+OfferID+'&desc='+transaction_value+'&uid='+unique_identifier+'" width="1" height="1">'); }
//-->
</Script>
anyidea how to do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
javascript yaoi osCommerce 2.2 Modification Help 0 03-27-2007 11:41 AM
ADDING JAVASCRIPT with PHP??? tonitonitoni2 osCMax v1.7 General Mods Discussion 4 01-05-2007 05:28 AM
Javascript & BTS gamerigs osCMax v2 Customization/Mods 2 11-06-2005 11:20 AM
Javascript Error jgkiefer osCMax v1.7 Discussion 0 09-23-2003 05:55 AM
javascript integration bushman osCMax v1.7 Discussion 3 09-16-2003 10:12 AM


All times are GMT -8. The time now is 08:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax