PHP Classes
elePHPant
Icontem

Hippo Shopping Cart: Manage shopping cart of products stored in MySQL

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-07-25 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 4,092 All time: 725 This week: 1,042Down
Version License Categories
hippo_shopping_cart 1.0GNU General Publi...Databases, E-Commerce
Description Author

This class can manage a shopping cart composed of products being sold to customers with records stored in a MySQL database.

The shopping cart item details are stored in session variables. Such details include product identifiers, product quantities, customer identifiers and e-mail addresses.

The information of the available products and the customer records are stored in a MySQL database.

The class can:

- Add items to the cart given the product identifier
- Check whether a given product is available
- Check whether a customer already has database records
- Retrieve the details of products added to the cart
- Remove or update the quantity of a product in the cart

Picture of DavidLanz
Name: DavidLanz <contact>
Classes: 5 packages by
Country: Taiwan Taiwan
Innovation award
Innovation award
Nominee: 2x

Details
    Hippo_Shopping_Cart 0.1.1
    ------------------------------------------------------------------------

    Hippo_Shopping_Cart can manage products_id, quantity, customer_id and customer email in a shopping cart.
    
    Functions:
    <> add items to a cart by given the 'products_id' which is stored in database.
    <> check the products_id if exist.
    <> check member if exist.
    <> get products_id from cart then get products detail from database.
    <> update quantity of each product, or remove them by using checkbox.
    <> when item quantity is setting to zero, the item is automatically removed from the cart.

    There is a workable demo page within this package, for more information plz read from the demo page.

    
    Copyright (c) 2004-2005
    ------------------------------------------------------------------------
	  DavidLanz 	   <davidlanz.tw@yahoo.com.tw>
	
    - Documentation written and maintained by:
      DavidLanz

    - Database connection class is based on database access wrapper created by:
      P.Balakumar

    ------------------------------------------------------------------------

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

    In addition, as a special exception, TOMO <groove at spencernetwork dot org> 
    gives permission to link the code of this program with the FTP library 
    (or with modified versions of LIB-FTP that use the same license as LIB-FTP), 
    and distribute linked combinations including the two.  You must obey 
    the GNU General Public License in all respects for all of the code used 
    other than LIB-FTP.  If you modify this file, you may extend this exception 
    to your version of the file, but you are not obligated to do so.  If 
    you do not wish to do so, delete this exception statement from your version.

    In addition, as a special exception, Edd Dumbill <edd at usefulinc dot com>
    gives permission to link the code of this program with the XML-RPC library 
    (or with modified versions of XML-RPC that use the same license as XML-RPC), 
    and distribute linked combinations including the two.  You must obey 
    the GNU General Public License in all respects for all of the code used 
    other than XML-RPC.  If you modify this file, you may extend this exception 
    to your version of the file, but you are not obligated to do so.  If 
    you do not wish to do so, delete this exception statement from your version.


    Credits:
    ------------------------------------------------------------------------
    DavidLanz      <davidlanz.tw@yahoo.com.tw>
    

  Files folder image Files  
File Role Description
Plain text file hippo_shopping_cart.php Class main shopping cart class
Accessible without login Plain text file hippo_shopping_cart.txt Doc. some example of this class
Plain text file hippo_sql_query.php Class sql exec class
Accessible without login Plain text file index.php Aux. default web page
Accessible without login Plain text file INSTALL Doc. the file u're reading
Accessible without login Plain text file README Doc. summary of this class
Accessible without login Plain text file shoppingcart.sql Data sql schema and demo data
Accessible without login Plain text file shopping_cart.js Data button click function, using javascript
Accessible without login Plain text file shopping_cart_1-1.php Example shopping cart usage demo page: add item to cart / remove item from cart
Accessible without login Plain text file shopping_cart_1-2.php Example shopping cart usage demo page: other page wanna get cart details
Accessible without login Plain text file shopping_cart_DBVar.php Conf. declaration of global variables
Accessible without login Plain text file shopping_cart_global_func.php Aux. global function
Accessible without login Plain text file shopping_cart_test.php Example shopping cart demo first page

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,092
This week:0
All time:725
This week:1,042Down
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:70%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1007
 
esta el motor principal.
7 years ago (Cesar Hermosilla Legent)
62%StarStarStarStar