PHP Classes

Shopping Basket: Manage a shopping cart stored in sessions

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 3,004 All time: 1,220 This week: 165Up
Version Licenses PHP version Categories
shoppingbasket 1.0.0Artistic License, B...5.0PHP 5, E-Commerce
Description Author

This class can be used manage a shopping cart. It can:

- Add, update or remove the quantity of an item
- Delete an item
- Get the list of items
- Get the quantity of a given item
- Empty the basket

The items in the shopping cart are stored in a session variable and optionally in cookies.

Picture of Dave Nicholson
Name: Dave Nicholson <contact>
Classes: 1 package by
Country: United Kingdom
Age: 41
All time rank: 106749 in United Kingdom
Week rank: 512 Up21 in United Kingdom Up

  Files folder image Files  
File Role Description
Plain text file shoppingbasket.class.php Class Shopping Cart class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,220
This week:165Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.