PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2014-06-16 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 610 All time: 4,890 This week: 1,099Up
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

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:610
This week:0
All time:4,890
This week:1,099Up