Solved

Shopping forms

Posted on 1998-02-09
4
257 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Ok I'll see what I find.
Thank you.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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 lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

763 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

7 Experts available now in Live!

Get 1:1 Help Now