Click to See Complete Forum and Search --> : shopping cart
me01273
11-25-2003, 04:23 AM
hello, i am trying to get hold of a e-commerce system, i have come accross the one at this link:
http://javascript.internet.com/forms/confirm-order.html.
this script is good but it doesnt let you select quantitys, can anybody help me modify this code to change quantitys,
Any help would be good,
Thanks in advance
David
JavaScript is not a good choice for an ecommerce solution, for a lot of reasons. You will want to use a server-side language to do this.
me01273
11-25-2003, 10:14 AM
ive tried to get hold of a php or cgi script server side based ones but they cost loads, im looking to make my own but dont particcularry want to learn 10000 pages of php and mysql just to do it.
but thanks anyway
So you want me to tell you the reasons not to use a JavaScript solution, then? Ok...
Security - JavaScript is not the least bit secure
Accessibility - 13% (http://www.thecounter.com/stats/2003/May/javas.php) of web users do not have JavaScript enabled, wheither by choice or disability.
Manageabiliy - If you have any number of products, managing them with a JavaScript solution will be a real pain in the @$$. A database would certianly come in handy...
Portability - It'd take an aweful lot of testing to be sure your JavaScript based solution works on all browsers. Since server-side solutions run on the server, you just have to make sure your server supports it.
I seemed to find a few free shopping carts, when I searched google (http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=free+PHP+shopping+carts&btnG=Google+Search).
me01273
11-25-2003, 10:23 AM
thanks man, i never realised javascript was so bad, thanks for the tips man
Sure thing.
One thing to clear up, though. JavaScript is not bad, it is just bad for this... :)