PHP Classes

PHP E-commerce Cart Class: Manipulate items in a shopping cart

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 650 All time: 4,923 This week: 157Up
Version License PHP version Categories
ecommerce-class 0.8GNU General Publi...5.4PHP 5, E-Commerce
Description 

Author

This class can manipulate items in a shopping cart.

It extends the ArrayObject class to manipulate a collection of items in a shopping cart performing operations like adding, getting, updating and removing items, search items, and compute the cart total price.

A separate product class can be used to define details the items to be added to the cart like price, quantity, description and taxes.

Picture of Nicholas Oliveira
  Performance   Level  
Name: Nicholas Oliveira <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 37
All time rank: 70352 in Brazil Brazil
Week rank: 79 Up8 in Brazil Brazil Up

Details
ec-cart ======= Simple E-commerce Cart Class You Can create a cart for your e-commerce easily suing this class its intended to use with sessions can support DB if you add funcionalities. before append the class to the cart you should write the product ID from database then you have a class with db working cause makes the intercation with DB not directly
  Files folder image Files  
File Role Description
Files folder imagetest (2 files)
Plain text file Cart.class.php Class Main Cart Class
Plain text file Product.class.php Class Asbtract Class for your product
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file test.bat Data Auxiliary data
Plain text file Utils.class.php Class Just assets of functions not important neither required to run

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file test.php Example Example script
  Accessible without login Plain text file write_session.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:650
This week:0
All time:4,923
This week:157Up