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,005 All time: 1,222 This week: 333Up
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: 107049 in United Kingdom
Week rank: 411 Up18 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,005
This week:0
All time:1,222
This week:333Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2313