phreakgrrrl
Technical User
hey there...
i'd like to state a sorry in advance for being an annoying newbie but i really need some help here...
so i posted before but this problem seems to be getting more and more jumbled...
ok....i have a shopping cart...people need to be able to order more than one item and the shipping cost needs to be ONLY the highest shipping value listed...
heres what ive come up with .... with a little help ;>
<%
subtotal = 0
tempunitprice = CDbl(rsAddItem("unitprice")
subtotal = rsAddItem("quantity" * tempunitprice
subshipping = rsAddItem("shippingprice"
if rsAddItem("shippingprice">1 then
totalshipping = rsAddItem("shippingprice"
end if
total = total + subtotal
%>
now as is...this gives me the shipping last shipping price listed ( unless its $0..which can tide my boss over for now)...but i kind of got thrown in here and am really not familiar with this stuff so any advise as to how to get my head out of my ass on this one would help...someone on this list suggested looping it but unfortunately...i know not how to do that and with large beginners book next to me..i just cant seem to figure it out..
in other words....HELP!
thanks
i'd like to state a sorry in advance for being an annoying newbie but i really need some help here...
so i posted before but this problem seems to be getting more and more jumbled...
ok....i have a shopping cart...people need to be able to order more than one item and the shipping cost needs to be ONLY the highest shipping value listed...
heres what ive come up with .... with a little help ;>
<%
subtotal = 0
tempunitprice = CDbl(rsAddItem("unitprice")
subtotal = rsAddItem("quantity" * tempunitprice
subshipping = rsAddItem("shippingprice"
if rsAddItem("shippingprice">1 then
totalshipping = rsAddItem("shippingprice"
end if
total = total + subtotal
%>
now as is...this gives me the shipping last shipping price listed ( unless its $0..which can tide my boss over for now)...but i kind of got thrown in here and am really not familiar with this stuff so any advise as to how to get my head out of my ass on this one would help...someone on this list suggested looping it but unfortunately...i know not how to do that and with large beginners book next to me..i just cant seem to figure it out..
in other words....HELP!
thanks