Login   Register  
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 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 496 This week: 1All time: 5,283 This week: 1,435Up
Version License PHP version Categories  
ecommerce-class 0.8GNU General Public Lice...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: 28
All time rank: 94668 in Brazil Brazil
Week rank: 71 Up8 in Brazil Brazil Up

  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:496All time:5,283
 This week:1This week:1,435Up