PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  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 (9 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,673 All time: 1,374 This week: 1,068Up
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

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,673
This week:0
All time:1,374
This week:1,068Up
User Ratings User Comments (1)
 All time
Utility:70%StarStarStarStar
Consistency:60%StarStarStarStar
Documentation:-
Examples:55%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:2348