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 (10 years ago) RSS 2.0 feedStarStar 38%Total: 2,681 All time: 1,385 This week: 672Up
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..

Name: Satya Prakash <contact>
Classes: 1 package by
Country: India India
Age: 36
All time rank: 114165 in India India
Week rank: 1046 Up79 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,681
This week:0
All time:1,385
This week:672Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:45%StarStarStar
Tests:-
Videos:-
Overall:38%StarStar
Rank:2957