Reference no: EM13534
Shopping Cart program for web applications class
Purpose - Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will provide a final price for all items.
The shopping cart function - By using cookies this allows the shopping cart to work properly and the design is to store the basic information somewhere so that when the user goes from page to page it stores the items until user is ready to checkout.
The Program Concepts - By clicking on an item the products page could give user an option to go to a single page where a description of the item is, and also you will order from that page.
Definition - The project needs the development of Javascript software that supports the activities of an imaginary online item service that simulates the selection and email payment option of several items over the computer network. This service is provided to process basic actions through email safely.
- Add item (by name and qty) to a customer shopping cart
- Remove item (by name and qty) from a customer shopping cart
- Report items in customer shopping cart (i.e., checkout)
- Payment of item qty to the order page
- Summary of final price of all purchases
Shopping cart
- Each customer can only use one cart at a time
- The service will handle a maximum of 20 active carts at a time
- Cart contents are saved for customers who leave the system and return another day
- Customers request cart report showing all items with prices, quantities, and totals
- Customers may only remove cart item one at a time
- Entire qty specified for addition to a cart must be available
Re-stocking
- Item re-stocking may occur at predetermined interval
- Item re-stocking list specify items names, prices, and qty
- Prices of items in current inventory must be replaced with re-stocking prices
- Re-stocking list must be read pre-defined data files