Class: Shopping Cart
Published Class: Shopping Cart in http://www.phpclasses.org/browse/package/3188.html
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.
