Solved

Shopping forms

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now