Delete button and bux fixed... : LUSENET : S-Mart Shopping Cart : One Thread

Hello everyone, since noone solved the delete button function, i did i myself, and also ther was a security hasard in the shoppingcart, that anyone coud enter a new quantity and then order without recalcing.

OK, find this line in the smart.cgi "<"input type=hidden value=\"$itemquant\" name=item$i">" then before this paste this code piece: $itemquant"<"input type=button value=\"x\" onClick=\"submit (item$i.value=0)\" ">"

Hope it works for you...

-- Kevon Forsgren (, February 17, 2000


: )

-- Patrick Chan (, February 22, 2000.

Looking for this " input type=hidden value=\"$itemquant\" name=item$i" and it won't show up....

could maybe email me your script to compare....

Thanxa lot


-- AlexB (, March 13, 2000.

Please provide your script address, and I will have a look at it...

-- Kevin Forsgren (, March 14, 2000.

Moderation questions? read the FAQ