Dr. Drew Hwang, CIS, Cal Poly Pomona
Home
101
WDD
ECOMM
SWA
SP
E-commerce Application Development
Home
Introduction
Concept
Model
B2C
B2B
Security
Research
Home
Description
Topics
Tools
Final Exam
Individual Projects
Online Store I
Online Store II
Online Store III
Mobile Ecommerce
Team Projects
Payment Gateway
Web Service
Mobile Commerce
Print
Project #2: Online Store II - Shopping Cart
Description
Add a shopping cart to the online product catalog.
Requirements
Develop an "add to cart" function to (1) validate the quantity input and (2) add the product as a new order line item to the CartLine table which contains the following data fields: CartID, ProductID, ProductNo, ProductName, Price, Quantity. If there is already an existing product in the cart, only update the quantity.
Develop "ViewCart.aspx" to:
display the cart details after a new order line item is added by the "add to cart" function or the "View Cart" link button is clicked,
show cart details containing ProductID, ProductNo, ProductName, Price, Quantity (in textbox control for update purpose), subtotal (calculated), and total (calculated), and
allow the customer to (1) update the quantity of an individual line item in the cart, (2) delete one item in the cart, and (3) empty the whole cart.
Grading
Requirement #01:
validation: 5%
adding: 30%
display subtotal: 5%
display cart total: 10%
Requirement #02:
display cart details: 25%
update item quantity: 20%
delete cart item: 10%
empty the cart: 10%
Sample code
News in the Making
(source:
ectnews.com/
)