?
Solved

Shopping forms

Posted on 1998-02-09
4
Medium Priority
?
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

752 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