Most online retailer sites include some common core functionality. Customers can browse an online catalog, they can add items to their shopping cart, they can remove items from their cart, and they can purchase items. For many sites, customers can become registered members.
For this homework, you are to create some of the use cases for an online retail site. You may choose a primary theme of your site or just include general merchandise.
Initial page: From this page a user can choose to register for the site, or to login to the customer browsing page.
Registration: A form page where a new customer can enter their contact information, provide a username, and a password. This information will be stored in the database.
Login: The customer can login using their username and password. After login, the user can browse products.
Product Browsing: After logging into the site, the customer can see a list of products. Each product listing includes the name of the product, an image, and the price of the object. A user can set a quantity for a product and select to purchase it. If there are enough items in inventory, the entire order will be added to the shopping cart. If not enough to fill the order, the user will be notified to change their order. As items are added to a shopping cart, they should be removed from the inventory in the database.
Shopping Cart Review: At any time, the customer can click a link to view their shopping cart. The shopping cart view will display a list of products in the cart, the quantity to be purchased, the cost of each to be purchased product, and the total cost. The customer should be able to delete an item from their cart. If an item is deleted from the shopping cart, it should be added back to the product inventory. A customer should be able to resume shopping from the shopping cart view.
Additional Use Cases are optional.
Your project must include the following components:
Your application should also conform to the following general requirements: