Old Asp.net V 1.1 code help. LaGarde Storefront 6

Hello all and sorry for the old code, but I was never much of coder myself, just a script scraper, and I'm hoping someone might be able to help.  

I run an old asp.net V 1.1 e-commerce engine called LaGarde Storefront.  I'll be migrating away from that soon, but I've got a problem I need to address now. 

We are adding a buysafe to the site, and they have some requirements that I'm trying to fullfil.

Previously, we had someone create a customization to add Google Analytics to our checkout confirm.aspx page, as well as some code to tract some Commision Junction traffic.  I was hoping to use that code to give buysafe what it needs.

 Here is the old code. 

 

1                Dim myOrderAddress As COrderAddress
2 Dim myItem As COrderItem
3 For Each myOrderAddress In m_objPFNR.OrderAddresses
4 For Each myItem In myOrderAddress.OrderItems
5 myOutput += "UTM:I|"
6 myOutput += m_objPFNR.OrderNumber & "|"
7 myOutput += myItem.ProductCode & "|"
8 myOutput += myItem.Name & "|"
9 myOutput += myItem.CategoryParent & "|"
10 myOutput += myItem.ItemPrice & "|"
11 myOutput += myItem.Quantity & vbCrLf
12 Next
13 Next

14 myOutput += "&lt;/textarea&gt;</form>"
15 myOutput += "<img src=""https://www.emjcd.com/u?AMOUNT=" & m_objPFNR.GrandTotal & "&CID=1502149&OID=" & m_objPFNR.OrderNumber & "&TYPE=308659&CURRENCY=<CURRENCY>&METHOD=IMG"" height=""1"" width=""20"">"
16 Return myOutput
17 Catch ex As Exception
18 Return ex.Message

 

So I know from this code that I'm getting some information from the order, like the  Order Number (line 6) and Product Code (line 7) and so on. On line 15 is where we output the string that had the old CJ image tracking script, with the necessary code to write out the items they needed to track. 

This code is no longer in use, and I figured I can get the same thing from this code that I need for BuySafe.  However, BuySafe wants the this code on this same page. 

 

<!-- BEGIN: buySAFE Other Platform widget --><script type="text/javascript" src="https://seal.buysafe.com/private/rollover/utils.js"></script><script type="text/javascript">
<!--
// Instructions: Replace any items in <brackets> with JavaScript variables or literal values from your cart.

// Basic order information
var buySAFE_Merchant = '<our merchant number>';
var buySAFE_OrderNum = '<the unique order number>';

// Then, for EACH ITEM in the cart, call the function buySAFE_addCartItem:
buySAFE_addCartItem( "<item_title>", <item_quantity_purchased>, <item_price>, "<item_item_number>" )


</script>
<script type="text/javascript" src="https://seal.buysafe.com/private/rollover/widget.js"></script>
<!-- END: buySAFE Other Platform widget -->

 

So how can I write the

myOutput += 

to  give BuySafe what it needs?

 

Thanks for any help.


Paranoid. Nah, it's just that everybody is out to get me.
Patio Umbrellas
rumblepup
0
rumblepup
2/11/2009 3:28:38 PM
asp.net.migrating-from-1.x-2.0 1016 articles. 0 followers. Follow

0 Replies
732 Views

Similar Articles

[PageSpeed] 12

Reply:

Similar Artilces:

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

.net 2.0 v. .Net 1.1
Hi all:Im trying to figure out whether I should begin using 2.0 at this point.  Many people I spoke to have indicated that it may be too soon (for whatever reason-bugs, hosting availibility etc).  Can someone give the pros and cons at this point?  I just learned .net 1.1 and this would be the first time I've ever gone throught this sort of transition.  Also, what was frustrating about 1.1 is that some of the books that first came out had alot of problems with their code working.  Is there an authorotative book out yet with functioning examples?Any help would be ...

Migration from .NET 1.1 to .NET 2.0
Hi All, Well i hoped that the migrating went smoother then is does so far. I had a few problem which i could fix with blogs from other developers, but i didn't find a good solution for this problem. Somehow i get the following error: "Make sure that the class defined in this code file matches the 'Inherits' attribute, and that it extends the correct base class" Well i worked very good before the migration. Some advise would be very welcome! Regards,Dennis van de Laarhttp://dennisv.net/Don't forget to mark the most helpful reply/replies as Answer. Maybe this post will hel...

How to migrate from .NET V 1.0 to .NET v 2.0
  I have a asp.net applicatin currently running with v1.1.4322, I want to migrate to v2.0.50727 . I have run a "aspnet_regiss.exe -i". But it seems to be not enouft. When i open a page i get a "The 'system.serviceModel/serviceHostingEnvironment' configuration section cannot be created". And what about Visual Studio, I am using Visual Studio 2003. Does i have to change anything to make Visual Studio 2003 compile with version 2. And does i need to change somthing in machine.config ?  Best Regards   To get vs2003 to build the app for .NET 2.0, you need to upgrade to ...

best method to migrate from .net 1.0 to .net 1.1
hi, i have windows xp pro running iis 5.1. i have an intranet site running under iis. i made this site using VS.NET 2002 under .NET framework 1.0.3705. Now i want to upgrade me .NET frame work to version 1.1. , but i still want to use VS.NET 2002 for programming and maintaining the site. How do i do this without the upgrade affecting my already deployed website. A step by step procedure to migrate from version 1.0.3705 to version 1.1 would be quite helpful. Thanks in advance, Raja. Hi, There is an article on this, right on this site. Check this Hope it hel...

best practices to migrate from .net 1.0 to .net 1.1
hi, i have windows xp pro running iis 5.1. i have an intranet site running under iis. i made this site using VS.NET 2002 under .NET framework 1.0.3705. Now i want to upgrade me .NET frame work to version 1.1. , but i still want to use VS.NET 2002 for programming and maintaining the site. How do i do this without the upgrade affecting my already deployed website. A step by step procedure to migrate from version 1.0.3705 to version 1.1 would be quite helpful. Thanks in advance, Raja. Well, at least take a look at this doc about running v1.0 and 1.1 side-by-side h...

Migrate DataGrid .NEt 1.1 to .NEt 2.0
Hi I has just convert my ASP.NET web application from .NET 1.1 to .NEt 2.0 so far there is no problem but my datagrid seems to be acting really weird my datagrid has 3 columns and have paging enabled. When there is one/two row of data. The paging(which shows us the number of page) seems to have a column span of 1)  If i click on the second row of data.... the paging will have the column span of 3 This does not happen if there is more than 2 data   please go to the link for better clarification http://yingleekit.multiply.com/photos/album/1/work#1 http://ying...

Code works with .Net 1.1 but not .Net 2.0
Can anyone offer any suggestions as to why this code would work under .Net 1.1 and not .Net 2.0? I listed the error I receive below, also. Line 865. Thank you, Public Function GetAge(ByVal Birthdate As System.DateTime, _ Optional ByVal AsOf As System.DateTime = #1/1/1700#) _ As Integer Dim iMonths As Integer Dim iYears As Integer Dim dYears As Decimal Dim lDayOfBirth As Long Dim lAsOf As Long Dim iBirthMonth As Integer Dim iAsOFMonth As Integer If AsOf = "#1/1/1700#" ...

Problem with Project Migrating from .net 1.1 to .net 2.0
Hi i am working in .net 1.1 and i am working on a web service. it 's working fine in .net 1.1 with vs2003 but when i migrated my WS from .net 1.1 to .net 2.0 i am getting System.FormatException while converting datetime from string using DateTime.Parse method. it was not happening earlier when i was using .net 1.1. My WS converted from vs2003 to vs2005 using a wizard and it doesn's shows a single error.   i did lots of googling on this issue but didnot gets any help , so any reply in the matter will be highly appericiable.  thanks vishal sharma vishalsharma808...

Migrating .NET 1.1 to .NET 2.0/3.5
We have many of our application running in .NET 1.1, and plannig to migrate all one-by-one, i know there will be a big challenge for this activity, What we are planning is not to migrate all in one shot, After migrating one application we will give for some selective users testing once we feel it is OK, do the next. What is best way of doing this thing? Any links, thrid party tools, since opening this in VWD 2005, it is converting the application but many errors are popuping up. Any reference would be highly appreciated, thanks in advance. Hi, Please follow the steps mentioned in this l...

.net 2.0 to .net 1.1
Hello , This is shrirang. Currently i am working .net2.0 web application. but the same application is runing on production in .net 1.1 freamwork . we are not using any new feature of 2.0 in our application . can i run build of 2.0 on 1.1 freamwork . if yes can you  please tell me necessary steps to achive it .     Thanks in advance for your kind help     Regards Shrirang i think it is not possible to run the 2.0 application in 1.1 , so try to change to the frame work in the production server . ThanksRaja Ragothaman Hi Shrirang, Please contact web adm...

having .net 1.1 and .net 2.0
Was just wondering if you someone could tell me the ramifications of the following:  I have .net 2.0 but did not uninstally .net 1.1, i have visual studio 2003, and visual web developer installed on the computer as well as sql server 2000.  my question is whether that is a problem having the two runtimes installed at the same time?  i did this because i wanted to use VWD but keep vs 2003 in case i needed to do any development for work....any comments are appreciated.  --jpIf my post is helpful please mark as answerRegards -- jp(http://www.rzrsolutions.com/rzrWeb20/...

HELP Running a web-site with .NET 2.0 and NET 1.1
Hi evreybody,  I have a HUGE problem. I running a website that I have just created with ASP .NET 2.0 technology, well within my web site there is an web application that needs to run under V1.1. I'm using IIS 6.0 and I was wondering to see if anybody can help me run my new site, and run that web app at the same time. Basically is two sites within one web directory, the way you acces both sites is by the same link, just one is ROOT/default aspx (V2.0) and the other is Root/webapp/default.aspx (v1.1) can anybody help me... :( THANK you you will have to define them as two separate w...

Conversion of code from .net 1.1 to .net 2.0 posing a problem
Originally Posted by Akshay_Jadhav on the Microsoft Interoperability - Technical Interoperability Scenarios forumHI,I have converted .net 1.1 code to .net 2.0 using .net wizard. i have radiobutton whose checked property is set to false on page load, on clicking of a button on that page checked property of radiobutton is set to true and a dropdownlist is enabled. when i select some value in dropdownlist the page is posted back and checked property of radiobutton is again set to false(automatically) which is wrong, it should be true. Same code is working fine in .net 1.1,when i select som...

Web resources about - Old Asp.net V 1.1 code help. LaGarde Storefront 6 - asp.net.migrating-from-1.x-2.0

Ecwid Touts Facebook Storefront Holiday Shopping Success Of Small, Midsized Businesses
Facebook commerce provider Ecwid has a client base made up of mostly small and midsized businesses, so it came as no surprise that Ecwid touted ...

Zibaba Launches Advertising Synched to Storefront Using Facebook’s Ads API
The monetization between Facebook retail storefronts and counterpart Facebook advertising has created a disconnect for retailers. So, for retailers ...

Open Access (storefront) - Flickr - Photo Sharing!
Explore Gideon Burton's photos on Flickr. Gideon Burton has uploaded 334 photos to Flickr.

Guy Goes Undercover To Prove Storefront Psychics Are Full Of It [LABS] l Elite Daily - YouTube
I have never understood how so many psychic storefronts can survive in Manhattan. Are they legitimate at all, or are people just eager to pay ...

Quinpool Road crash causes damage to vehicles and storefront
A car crash on Quinpool Road in Halifax on Saturday night caused extensive damage to three vehicles and a storefront.

Pinterest becomes a storefront with Buyable Pins on the iPhone & iPad with Apple Pay
Pinterest is graduating from a place where you discover and bookmark items to a storefront where you can actually make purchases. This is made ...

8 injured after car hits storefront of Chipotle in Mid-City
Eight people were transported to a local hospital after a car hit the storefront of a Chipotle in the Mid-City area Friday afternoon, Los Angeles ...

Facebook Tests Turning Brands' Pages Into Social Storefronts - Digital - Advertising Age
Facebook already helps retailers push product through the ads it sells, but now it wants to sell the actual products without taking consumers ...

E-Commerce is the New Retail Storefront
Online shopping has grown consistently over time. Consumers have started shifting to online shopping in most verticals for the convenience it ...

The Cloud Is Getting Crowded: Hollywood Lines Up Behind M-Go, Another Digital Storefront
... So comes another option: M-Go , a cloud/locker app/service backed by DreamWorks Animation and Technicolor, that will be part digital storefront, ...

Resources last updated: 12/20/2015 8:14:53 AM