CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
script/page control



Mar 1, 2000, 4:29 PM

Post #1 of 2 (1504 views)
script/page control Can't Post


I'm looking for help with a simple online ordering site.

I have several pages of products that I show in batches of 10 in html. Each product is in a form and there is a product code, price and order quantity and an order button.

What I want to do is the following:

A) when the order button is pressed, then ask the user if they really want to order this item.

B) if the user confirms then the order line is written to an order file (or cookie) and the user is left where they were on the current site.

C) if the user decieds not to accept to order line then they are just left on the current site page.

How can I do this with as few scripts as possible? I've looked at a shopping example from Matts Archive and I just don't understand what is going on - does it have to be so complicated? Has anyone got a simple example of what to do?

All help gratefully received.




Mar 2, 2000, 6:21 PM

Post #2 of 2 (1504 views)
Re: script/page control [In reply to] Can't Post

I don't belive there is such a thing as simple when your talking about things as this. I would suggest you reading through some of the code to try to understand what is going on, maybe even writing something small at first and building up to an e-shop. There are many different levels in creating e-shops, there for the need for complicated code.

Please feal free to submit questions regarding any type of question here and we will work with you on any of them.

Remember although there is complicated code in perl, it is in no comparison to other lauguages.

Meaning not as complicated :-)

Brian Hayes

[This message has been edited by brian.hayes (edited 03-02-2000).]


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives