Thank you for all the advice. I looked through free scripts and I found most of them 
too sophisticated for what I need. The site I'm working on will only collect orders 
and email them - then someone will call the customer, verify and process the order 
(they do not want to do credit cards over the phone yet).

The problems I have before sitting down and getting to scripting: 
1. how do shopping carts work -  how do they keep track of the customer and where do 
they store ordered items
2. how do they call all the ordered items upon the checkout?

I know I could create a db, but are there other simpler solutions? I was thinking of 
placing a cookie named "random_number" and create file with the same name. Upon 
checkout (or during adding new items to the cart) I will check the cookie for the 
number and call the same file. I know it's not a pretty solution because there could 
be an instance where 2 people get the same random name for the cookie but the 
probability is very small.

thanks,
Mariusz  

Reply via email to