PHP Classes

Shopping Basket: Manage a shopping cart stored in sessions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 47%Total: 3,008 All time: 1,224 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: 43
All time rank: 107349 in United Kingdom
Week rank: 170 Up5 in United Kingdom Up

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,008
This week:0
All time:1,224
This week:560Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:3041