PHP Classes

Classes of Satya Prakash

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Satya Prakash (1)  >  Mission progress status  >  Reputation  
Picture of Satya Prakash
Name: Satya Prakash <contact>
Classes: 1
Country: India India
Age: 43
All time rank: 118265 in India India
Week rank: 185 Up11 in India India Up
All time users: 2685
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Shopping Cart by satya and...  
Manage shopping carts that are kept between visits
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&#314;ay all the cart items, etc..


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z