That's a pretty broad question. There are many ways to do this, but I
wouldn't try setting temporary variables such as by using cookies or session
vars to store that info.
I use a shopping cart table to store the items. Once the order is complete,
I move the items to a line items table. If anyone bails out of their
shopping cart session, I'll know because there will be an old shopping cart
session (previous to today).
---mark
=========================================
Mark Warrick - Fusioneers.com
Personal Email: [EMAIL PROTECTED]
Business Email: [EMAIL PROTECTED]
Phone: 714-547-5386
Efax: 801-730-7289
Personal URL: http://www.warrick.net
Business URL: http://www.fusioneers.com
ICQ: 125160 / AIM: markwarric
=========================================
-----Original Message-----
From: Pooh Bear [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 1:26 PM
To: CF-Talk
Subject: shopping cart
currently, when a user clicks "BUY ME" for a product, the info for that
product goes into an array (Price, id, desrctiption, quantity). whats a
better way to do it?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists