PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStar 38%Total: 2,684 This week: 1All time: 1,417 This week: 246Up
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: 41
All time rank: 117965 in India India
Week rank: 267 Up25 in India India Up

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,684
This week:1
All time:1,417
This week:246Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:45%StarStarStar
Tests:-
Videos:-
Overall:38%StarStar
Rank:3087
  
For more information send a message to info at phpclasses dot org.