Projects / DB_cart Class

DB_cart Class

DB_cart Class is a MySQL shopping cart script that can be used with third party product catalogues and membership systems. The MySQL database structure is neutral to existing systems. It can handle the shopping cart (add, update, and empty) and checkout process (set the shipment address and email the order). For existing cart users, the shopping cart is still available upon the user's next visit and is visible by checkout. The last option is configurable togther with a time period.

Tags
Licenses
Implementation

RSS Recent releases

  •  14 Jun 2006 16:09

Release Notes: There are modifications and improvements inside the main class file, several examples, and the table structure has been extended. There two additional fields for the shipment values (name2 and address2). All messages are available in German, English, and Dutch. The standard text inside the email messages is in external files now; this content is parsed inside the improved email method.

  •  31 May 2006 04:16

Release Notes: It's now possible to add products to the shopping cart in a different way: if the SHOW_CONTINUE setting is true, a "continue" page will show up. All example pages now use this feature. To make this feature complete, there are new example files included (for the regular and the stock version). The manual was also updated to reflect these new functions. A bug in the remove_old_orders() method and some small bugs in the "stock" extension were fixed.

  •  16 Sep 2005 06:23

Release Notes: In older versions, it wasn't possible to delete a single row via the checkout page. From now on, if the value of the quantity is "0" after submitting, the row will be deleted. See the modified methods messages() and update_row(), and the new method delete_row().

  •  22 Aug 2005 05:01

Release Notes: The new extension "db_stock_cart" makes it possible to handle shops where the "on stock" amount is important. With this extension, it's possible to handle old orders if the stock or price of a product is changed. Order rows where the stock is on zero will be removed and order values higher then the stock will be updated. The user gets information about how many rows are updated.

  •  12 Aug 2005 04:57

Release Notes: A small bug inside the handle_cart_row() method where it was not possible to change the $replace variable was fixed, and the update_row() method can handle this parameter too. An option to recover old orders for a customer during the next access was added. The RECOVER_ORDER constant was added to the db_cart() and remove_old_orders() methods. The new constant VALID_UNTIL defines how long an old order will be available for recovery.

Screenshot

Project Spotlight

RoCanvas

A HTML5 drawing board component.

Screenshot

Project Spotlight

S3QL

A full featured file system for Amazon S3 and other online storage services.