Login   Register  
PHP Classes
elePHPant
Icontem

Simple Static Basket: Manage shopping baskets stored in sessions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   Demos   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-18 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 356 This week: 1All time: 6,161 This week: 1,435Up
Version License PHP version Categories  
simple-basket 1.0GNU General Public Lice...5.2PHP 5, E-Commerce
Description Author  

This class can manage shopping baskets stored in sessions.

It can create and manage the items in a shopping basket using session variables to store the basket data. Currently it can:

- Add a list of items to the basket specifying the items' id, price, name and quantity
- Change items already in the basket
- Get the list of items in the basket
- Get the quantity of items in the basket
- Get the quantity of item types in the basket
- Get the total cost of the items in the basket
- Get the last modification date of the basket
- Remove items from the basket

Picture of Nemeth Zoltan
Name: Nemeth Zoltan <contact>
Classes: 4 packages by
Country: Hungary Hungary
Age: 36
All time rank: 222622 in Hungary Hungary
Week rank: 765 Up8 in Hungary Hungary Up

  demoExternal page  
  Files folder image Files  
File Role Description
Plain text file Basket.class.php Class Simple static basket
Accessible without login Plain text file test.php Example test file for the class

 Version Control Unique User Downloads Download Rankings  
 0%Total:356All time:6,161
 This week:1This week:1,435Up