Login   Register  
PHP Classes
elePHPant
Icontem

Shopping Cart by satya and Deepak: Manage shopping carts that are kept between visits

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-02-01 (7 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,592 This week: 1All time: 1,355 This week: 1,380Down
Version License PHP version Categories  
satya 1.0Freeware4.0Databases, E-Commerce
Description Author  

This class can be used to manage shopping carts that preserve the items between visits. Recommended for Smarty template.

It stores the cart items in a MySQL database table, so the items are not lost after the session on which the items were added is not lost.

The cart items are associated to a session identifier that can be stored in a persistent cookie to allow recovering the cart items later.

The class can add items to a cart, check if the item was already added, update the quantity of an item, clear all the cart items, calculate the cart items total cost, dispĺay all the cart items, etc..

Picture of Satya Prakash
Name: Satya Prakash <contact>
Classes: 1 package by
Country: India India
Age: 33
All time rank: 109557 in India India
Week rank: 1040 Up80 in India India Down

Screenshots  
  • cart.jpg
  Files folder image Files  
File Role Description
Plain text file cart.php Example Example how the class can be used
Plain text file checkout.php Example Example script for checkout
Plain text file class.cart.php Class Class File
Plain text file db_class Class Class file for database connectivity
Plain text file shopping Aux. Query for the cart table

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,592All time:1,355
 This week:1This week:1,380Down
User Ratings User Comments (1)  
 All time
Utility:70%StarStarStarStar
Consistency:60%StarStarStarStar
Documentation:-
Examples:55%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1830