PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-16 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 547 This week: 1All time: 5,131 This week: 1,124Up
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
Name: Nicholas Oliveira <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 29
All time rank: 80158 in Brazil Brazil
Week rank: 100 Up4 in Brazil Brazil Up

Details provided by the author  
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:547All time:5,131
 This week:1This week:1,124Up