Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
Shopping Cart (0 Comments)
Admin: Posted Date: April 4, 2010

This class can be used to manipulate the items of a shopping cart using AJAX to avoid making the user leave the current page. The class can generate HTML and Javascript to show the list of items in the shopping cart.

Class: Shopping Cart

Detailed description

This class can be used to manipulate the items of a shopping cart using AJAX to avoid making the user leave the current page.

                                         


The class can generate HTML and Javascript to show the list of items in the shopping cart.

The list has form submit buttons to trigger the execution of AJAX requests that can add or remove items from the shopping cart.

The list of shopping cart items is stored in a session variable.

The actions of adding and removing items are also tracked by storing the action details in a MySQL database table.

 

 

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: