Forums

ASP

This topic is locked

Shopping Cart

Posted 21 Jul 2003 12:25:56
1
has voted
21 Jul 2003 12:25:56 Matt Jukes posted:
Hi all,

I found a tutorial on how to design a shopping cart. It was on www.webthang.co.uk. I have a small problem. It doesn't work.

Whenever i run the cart and try to add an item to my cart it states there is a type mismatch "" in this part of code

< %
FOR i = 0 TO UBOUND( localCart, 2 )
IF localCart( CARTPID, i ) <> "" THEN
orderTotal = orderTotal + ( localCart( CARTPPRICE, i ) * localCart( CARTPQUANTITY, i ) )
% >

I can't quite make out why it keeps saying this.

I was just wondering if anyone had used this tutorial before or maybe knew the solution.

any help would be great.

Thanks in advance
Matt

Reply to this topic