PHP Shopping Cart script (DB_cart) ver. 1.13
updated: 2006-06-14
DB_cart Class is a MySQL shopping cart script that can be used with third party product catalogs 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 together with a given time period. The package includes all application file and example data to test all functions. Since version 1.10 its possible to use this class with product data where the stock value is variable.
PHP Script Download
You need to login or register to download this class script.
Downloaded 25181 times
Last changes and updates:
Version 1.13
This version is a big update, there modifications and improvements inside the main class file, several examples and also the table structure is extended. In this version there two additional fields for the shipment values (name2 and address2). All messages are available in German, English and Dutch language. The standard text inside the e-mail messages is in external files now, this content is parsed inside the improved e-mail method.
Version 1.12
There was bug inside the method remove_old_orders(), this error is fixed in this version. I removed also some small bugs inside the "stock" extension. It's possible to add products to the shopping cart on a different way: If the setting SHOW_CONTINUE = true a continue page will show up. All example pages are using this new feature. To make this feature complete there are new example files included (for the regular and the stock version). The manual is updated too, to catch this new functions.
Version 1.11
In older version 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 submit the row will be deleted. Check these modified methods: messages(), update_row() and the new method delete_row().