Databases: Shopping Cart by satya and Deepak
Satya Prakash (contact me)
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..
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (83.3%)
| Sufficient (75.0%)
| -
| Sufficient (75.0%)
| -
| -
| Not sure (56.7%)
| 857 |
Click here for detailed information about this class on phpclasses.org