You are on page 1of 21

Online Shopping Portal

Software Design Case Study

A Case Study By

Akash Mohan
Vaishali Vasing
Navakanth Kanapala
Kamlesh

MBA – Software Solutions and Management

Symbiosis Centre for Information Technology


Pune
Online Shopping Portal| A case study

Table of Contents

1. Case Statement ....................................................................................................................... 2


2. Scenario................................................................................................................................... 2
3. Assumptions ............................................................................................................................ 2
4. Actors ...................................................................................................................................... 2
5. Functionality ........................................................................................................................... 2
6. Enhancements......................................................................................................................... 3
7. Data Flow diagrams................................................................................................................. 4
7.1 Context Level Diagram ................................................................................................... 4
7.2 Level 1 Diagrams ............................................................................................................ 5
8. Entity Relationship Diagram.................................................................................................... 7
9. Use Case Diagram ................................................................................................................... 9
10. Class Diagram ........................................................................................................................ 10
11. Activity Diagram .................................................................................................................... 11
12. Sequence Diagram ................................................................................................................ 12
13. State Transition diagram for Cart Object .............................................................................. 20

1|Page
Online Shopping Portal| A case study

1. Case Statement
In this case, we will be designing a simple online shopping portal .The site will provide a
soothing shopping experience for customers. The system will allow more than one
categories and different brands under the segment. The case will trace the following
sequence.

2. Scenario
A customer visits the online shopping portal. A customer may buy item or just visit the page
and logout. The customer can select a segment, then a category, and brand to get the
different products in the desired brand.

The customer can select the product for purchasing. The process can be repeated for more
items. Once the customer finishes selecting the product/s the cart can be viewed , If the
customer wants to edit the final cart it can be done here.

For final payment the customer has to login the portal, if the customer is visiting for the 1st
time he must register with the site, else the customer must use the login page to proceed.

Final cart is submitted for payment and card details and address(where shipment has to be
made) are be confirmed by the customer .Customer is confirmed with a shipment Id and
delivery of goods within 15 days.

3. Assumptions
• The currency followed is Rs as the site provides for only Indian customer base.
• There are different segments, categories, brands where a brand can fall under more
than one category.
• The shipment of the goods is not covered under the scope of the case
• Complains by the customers are not handled by the case study.
• Customers have to be validated before the payment can be confirmed.

4. Actors
• Customer
• Administrator.

5. Functionality
1. Portal
• Allows the customer to view the different categories and further to different
products within the brands eg.
• Allows the customer to shop online saying time and cost of customer.
2|Page
Online Shopping Portal| A case study

• The portal provides a bill and an shipmentId which can be used to track the
delivery status of the goods purchased by the customer .
Category:.
2. Customer

• Customers when enter the site and view the various products in different
category.
• Authentication of the customer is done for the payment of the shopping
done
• Customer can browses through the products available in the shop, can select
some of them and put into the shopping cart.
• Customer can anytime change the items in the cart either by adding new
items or by removing existing items. Customer proceeds towards the
payment counter. Finalize product list of items he finally wish to buy and
make the final payment.

3. Administrator

• Updates the details of the different category ,segments etc


• Verifies the customer card details and records the details for shipment of
goods.

6. Enhancements

• The portal can be extended for a larger customer base beyond the Indian
customers.
• The complaints of the customer are not handled

3|Page
Online Shopping Portal| A case study

7. Data Flow diagrams

7.1 Context Level Diagram

Fig. 1 Context Level diagram

4|Page
Online Shopping Portal| A case study

7.2 Level 1 Diagrams

Fig. 2 Add Item to cart

Fig. 3 Add Product/Brand/Item

5|Page
Online Shopping Portal| A case study

Fig. 4 Register

Fig. 5 Login

Fig. 6 Payment Details

6|Page
Online Shopping Portal| A case study

8. Entity Relationship Diagram

Fig. 7 ER Diagram

7|Page
Online Shopping Portal| A case study

Fig. 8 Database Design

8|Page
Online Shopping Portal| A case study

9. Use Case Diagram

Fig. 9 Use Case Diagram


9|Page
Online Shopping Portal| A case study

10. Class Diagram

Fig. 10 Class Diagram

10 | P a g e
Online Shopping Portal| A case study

11. Activity Diagram

Fig. 11 Activity Diagram

11 | P a g e
Online Shopping Portal| A case study

12. Sequence Diagram

Fig. 12 Sequence Diagram: Add to cart

12 | P a g e
Online Shopping Portal| A case study

Fig. 13 Sequence Diagram: Submit a cart

13 | P a g e
Online Shopping Portal| A case study

Fig. 14 Sequence Diagram: Register a user

14 | P a g e
Online Shopping Portal| A case study

Fig. 15 Sequence Diagram: Login a customer

15 | P a g e
Online Shopping Portal| A case study

Fig. 16 Sequence Diagram: Add a new segment

16 | P a g e
Online Shopping Portal| A case study

Fig. 17 Sequence Diagram: Add a new category

17 | P a g e
Online Shopping Portal| A case study

Fig. 18 Sequence Diagram: Add a new brand

18 | P a g e
Online Shopping Portal| A case study

Fig. 19 Sequence Diagram: Add a new product

19 | P a g e
Online Shopping Portal| A case study

13. State Transition diagram for Cart Object

Fig. 20 State Transition diagram for Cart Object

20 | P a g e

You might also like