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 47%Total: 3,008 All time: 1,223 This week: 560Up
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: 42
All time rank: 107349 in United Kingdom
Week rank: 321 Up14 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  
 0%
Total:3,008
This week:0
All time:1,223
This week:560Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:3018