ladybugz46
Technical User
I am admittedly new and I apologize for that. I have the following script and am trying to pick up variables that are in the page and feed into the script after reading the array. Fairly simple. Need to read the data from the array into the page. Script will read the array but won't pass the sku and origprice into the array. I am open to ideas and any help from all of you folks...suez
Dim outletPrice(10,2)
outletPrice(0,0) = "515304GS"
outletPrice(0,1) = "We Once Sold This For:"
outletPrice(0,2) = .50
outletPrice(1,0) = "513864JW"
outletPrice(1,1) = "Blown Away Before At:"
outletPrice(1,2) = .50
outletPrice(2,0) = "514471JW"
outletPrice(2,1) = "Originally:"
outletPrice(2,2) = .50
outletPrice(3,0) = "51FJ1483"
outletPrice(3,1) = "Suggested Price:"
outletPrice(3,2) = .50
outletPrice(4,0) = "51FJ1486"
outletPrice(4,1) = "Originally:"
outletPrice(4,2) = .50
outletPrice(5,0) = "51FJ1484"
outletPrice(5,1) = "Retail Price:"
outletPrice(5,2) = .50
outletPrice(6,0) = "513855JW"
outletPrice(6,1) = "Previously Priced at:"
outletPrice(6,2) = .50
outletPrice(7,0) = "513713JW"
outletPrice(7,1) = "Sold Before At:"
outletPrice(7,2) = .50
outletPrice(8,0) = "51FJ1477"
outletPrice(8,1) = "Originally:"
outletPrice(8,2) = .50
outletPrice(9,0) = "51FJ1476"
outletPrice(9,1) = "Retail Price:"
outletPrice(9,2) = .5
outletPrice(10,0) = "51FJ1475"
outletPrice(10,1) = "Previously Priced at:"
outletPrice(10,2) = .50
Dim sku
sku = "51FJ1476"
Dim origPrice
origPrice = "MpbPrice"
For i = LBound(outletPrice) to UBound(outletPrice)
if outletPrice(i,0) = "sku" Then
response.write("<b>Save Over</b> " & FormatPercent(outletPrice(i, 2)) & "<br>"
response.write(outletPrice(i, 1) & origPrice & "<BR>"
response.write("Now Only: " & FormatCurrency((origPrice)*(outletPrice(i, 2))) & "<BR>"
Else
end if
next
Thanks!!!!!
Dim outletPrice(10,2)
outletPrice(0,0) = "515304GS"
outletPrice(0,1) = "We Once Sold This For:"
outletPrice(0,2) = .50
outletPrice(1,0) = "513864JW"
outletPrice(1,1) = "Blown Away Before At:"
outletPrice(1,2) = .50
outletPrice(2,0) = "514471JW"
outletPrice(2,1) = "Originally:"
outletPrice(2,2) = .50
outletPrice(3,0) = "51FJ1483"
outletPrice(3,1) = "Suggested Price:"
outletPrice(3,2) = .50
outletPrice(4,0) = "51FJ1486"
outletPrice(4,1) = "Originally:"
outletPrice(4,2) = .50
outletPrice(5,0) = "51FJ1484"
outletPrice(5,1) = "Retail Price:"
outletPrice(5,2) = .50
outletPrice(6,0) = "513855JW"
outletPrice(6,1) = "Previously Priced at:"
outletPrice(6,2) = .50
outletPrice(7,0) = "513713JW"
outletPrice(7,1) = "Sold Before At:"
outletPrice(7,2) = .50
outletPrice(8,0) = "51FJ1477"
outletPrice(8,1) = "Originally:"
outletPrice(8,2) = .50
outletPrice(9,0) = "51FJ1476"
outletPrice(9,1) = "Retail Price:"
outletPrice(9,2) = .5
outletPrice(10,0) = "51FJ1475"
outletPrice(10,1) = "Previously Priced at:"
outletPrice(10,2) = .50
Dim sku
sku = "51FJ1476"
Dim origPrice
origPrice = "MpbPrice"
For i = LBound(outletPrice) to UBound(outletPrice)
if outletPrice(i,0) = "sku" Then
response.write("<b>Save Over</b> " & FormatPercent(outletPrice(i, 2)) & "<br>"
response.write(outletPrice(i, 1) & origPrice & "<BR>"
response.write("Now Only: " & FormatCurrency((origPrice)*(outletPrice(i, 2))) & "<BR>"
Else
end if
next
Thanks!!!!!