20467513 case study-online-shopping-cart

Post on 11-Jun-2015

1.039 views 1 download

Tags:

Transcript of 20467513 case study-online-shopping-cart

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

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

.

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.

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

7

.

Data Flow diagram

s

7.1 Context Level Diagram

Fig. 1 Context Level diagram

7.2

Level 1 Diagrams

Fig. 2 Add Item to cart

Fig. 3 Add Product/Brand/Item

Fig. 4 Register

Fig. 5 Login

Fig. 6 Payment Details

8

.

Entity Relationship Diagra

m

Fig. 7 ER Diagram

Fig. 8 Database Design

9

.

Use Case Diagram

Fig. 9 Use Case Diagram

10. Class Diagram

11

.

Activity Diagram

12

.

Sequence Diagram

13

.

State Transition diagram for Cart Object

Fig. 10 Class Diagram

Fig. 11 Activity Diagram

Fig. 12 Sequence Diagram: Add to cart

Fig. 13 Sequence Diagram: Submit a cart

Fig. 14 Sequence Diagram: Register a user

Fig. 15 Sequence Diagram: Login a customer

Fig. 16 Sequence Diagram: Add a new segment

Fig. 17 Sequence Diagram: Add a new category

Fig. 18 Sequence Diagram: Add a new brand

Fig. 19 Sequence Diagram: Add a new product

Fig. 20 State Transition diagram for Cart Object

䘀椀最  䌀氀愀猀猀䐀椀⸀愀最爀愀洀

䘀椀最 䄀挀琀椀瘀椀琀礀䐀⸀椀愀最爀愀洀

䘀椀最 ㈀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀⸀㨀䄀搀搀琀漀挀愀爀琀

䘀椀最 ㌀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀⸀匀甀戀洀椀琀愀挀愀爀琀䘀椀最 㐀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀⸀

刀攀最椀猀琀攀爀愀甀猀攀爀

䘀椀最 㔀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀䰀⸀漀最椀渀愀挀甀猀琀漀洀攀爀

䘀椀最 㘀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀䄀搀⸀搀愀渀攀眀猀攀最洀攀渀琀䘀椀最 㜀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀䄀搀⸀搀愀渀攀眀挀愀琀攀最漀爀礀

䘀椀最 㠀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀䄀⸀搀搀愀渀攀眀戀爀愀渀搀

䘀椀最 㤀匀攀焀甀攀渀挀攀䐀椀愀最爀愀洀㨀䄀搀⸀搀愀渀攀眀瀀爀漀搀甀挀琀

䘀椀最 ㈀ 匀琀愀琀攀吀爀愀渀猀椀琀椀漀渀搀椀⸀愀最爀愀洀昀漀爀䌀愀爀琀伀戀樀攀挀琀