Login   Register  
PHP Classes

Shopping Cart: Manipulate the item of a shopping cart using AJAX

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Ashraf Gheith
Name: Ashraf Gheith <e-mail contact>
Packages: 8 Browse all classes by Ashraf Gheith Browse all classes by
Country: Bosnia and Herzegovina Bosnia and Herzegovina - PHP jobs in Bosnia and Herzegovina
Age: 31
All time rank: 551 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 54 Up2 in Bosnia and Herzegovina Bosnia and Herzegovina Down
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can be used to manipulate the items of a shopping cart using AJAX to avoid making the user leave the current page.

The class can generate HTML and Javascript to show the list of items in the shopping cart.

The list has form submit buttons to trigger the execution of AJAX requests that can add or remove items from the shopping cart.

The list of shopping cart items is stored in a session variable.

The actions of adding and removing items are also tracked by storing the action details in a MySQL database table.

  Classes of Ashraf Gheith  >  Shopping Cart  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Shopping Cart
Base name: session_cart
Description: Manipulate the item of a shopping cart using AJAX
Version: -
PHP version: -
License: The PHP License
All time users: 7035 users
All time rank: 245
Week users: 10 users
Week rank: 136 Up
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Files Files  

Group folder image E-Commerce Online stores, shopping baskets and payment methods View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

  Files folder image Screenshots  
A screenshot of the cart show function..
File Role Description
Accessible without login Image file cart.jpg Screen A screenshot of the cart show function..

  Freshmeat project  
Shopping Cart
Project record: shoppingcart
Popularity score: 11.49
Vitality score: 53.44

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (65.9%) Not sure (59.1%) - Not sure (50.0%) - - Not sure (43.9%) 1957
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file cart.php Class The Main Class
Plain text file track_cart.sql Data SQL file
Plain text file index.php Example Example file

Download Download all files: session_cart.tar.gz session_cart.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.