PHP Classes

Class Cart: Manage the items of a shopping cart

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 5,519 All time: 444 This week: 488Down
Version License Categories
classcart 1.0.0GNU Free Document...HTML, E-Commerce


This class can manage the items store in a shopping cart.

It can add items to a cart given the item names, quantity and price.

It can also update a given item by specifying its name. If the updated item quantity is zero, the item is automatically removed from the cart.

The class can also generate an HTML listing of items of all items in the cart and automatically compute the total price of all items.

Picture of imran ahmed rahi
Name: imran ahmed rahi <contact>
Classes: 3 packages by
Country: India India
Age: 45
All time rank: 21313 in India India
Week rank: 161 Up13 in India India Equal

  Files folder image Files  
File Role Description
Plain text file ClassCart Class A Class to store item details purchased online
Accessible without login Plain text file index.php Example An example file to view the working of the class.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:444
This week:488Down
User Ratings User Comments (1)
 All time