Solved

Shopping forms

Posted on 1998-02-09
4
262 Views
Last Modified: 2013-12-25
We got alot of products, spread over several pages.
So tWe are going to start a online hardware shop, but we run into a problem.

he user can select products on all pages, using check boxes.
And then press a "send order" button. When the button is pressed,
the user fills in a form with Name, Adr, Etc.
It should then send us a mail with the users input and all the orders.

0
Comment
Question by:CATT
  • 2
4 Comments
 

Expert Comment

by:scdevine
ID: 1831972
Forms usually work on one page at a time in HTML 3.0, which is the version I am most familiar with.

HOWEVER (there is always a "however"):

It is possible to build a more complex cgi program to:

1)  take contact information and start a file, or possibly a database entry.

2)  display it for the user to check

3)  add checkbox things to the file/DB item

4)  final display of user's order

5)  ask for payment type.

6)  perform debit/credit/other bank transaction

7)  send a copy of order/bill to accounting department

8)  send a copy of order/bill to shipping department

Such a cgi program would probably stay active at the server while the shopper completes his order, which might eat up a bit of server performance.  Alternatively, the cgi could "front end" for the database, and activate/deactivate according to user's behavior.

Is there a good reason why the order form cannot be ALL on one page?  It might simplify matters.
0
 

Author Comment

by:CATT
ID: 1831973
Yes there is a reason; we have lots of diff stuff for sale.
On many diff pages, so ...
And my Q was mot what is possible, but how to do it, so...??
0
 
LVL 5

Accepted Solution

by:
icd earned 50 total points
ID: 1831974
Two options.

1. If you can write your own scripts and load them on the server then there are a number of pre-written scripts that you can use. Look at

http://www.cgi-resources.com/Programs_and_Scripts/Perl/Shopping_Carts/

2. If you can't write your own cgi scripts then there is more of a problem. You will then have to use Javascript and perhaps cookies and that is more of a problem.

0
 

Author Comment

by:CATT
ID: 1831975
Ok I'll see what I find.
Thank you.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question