Delete button and bux fixed...

greenspun.com : 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 (nubben17@hotmail.com), February 17, 2000

Answers

: )

-- Patrick Chan (patrickccf@hotmail.com), 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

-- AlexB (abroens@teleprint.ch), March 13, 2000.


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

-- Kevin Forsgren (nubben17@hotmail.com), March 14, 2000.

Moderation questions? read the FAQ