Solved

Shopping forms

Posted on 1998-02-09
4
260 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to count occurrences of each item in an array.

776 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