PHP Classes

Class Cart: Manage the items of a shopping cart

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 46%Total: 5,520 All time: 444 This week: 43Up
Version License Categories
classcart 1.0.0GNU Free Document...HTML, E-Commerce
Description 

Author

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: 195 Up20 in India India Down

  Files folder image Files (2)  
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.

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:5,520
This week:0
All time:444
This week:43Up
User Ratings User Comments (1)
 All time
Utility:65%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3227