Re: Building a Shopping Cart

From: Date: Tue, 10 Apr 2001 19:28:48 +0000
Subject: Re: Building a Shopping Cart
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8456@lists.php.net to get a copy of this message
At 03:17 PM 4/10/2001 -0400, Matt Braynard wrote:
I'm trying to build a shopping cart and am unsure of how to track what each visitor has purchased as they shop. How do I track what items they add as they move through the online catalog adding things and then checkout.
Make a table that represents items purchased. In this table include at least, the product ID, customer ID and a status column which represents "in basket", "purchased", "shipped", "frozen", etc. Once an order has been completed just update the status to "purchased". Cheers -----------------------------------------------------------------------------
Island Net AMT Solutions Group Inc.          Telephone:          250 383-0096
1412 Quadra                                  Toll Free:        1 800 331-3055
Victoria, B.C.                               Fax:                250 383-6698
V8W 2L1                                      E-Mail:    support@islandnet.com
Canada                                       WWW:   http://www.islandnet.com/
-----------------------------------------------------------------------------

« previous php.db (#8456) next »