Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 12

Activity Diagram of Online Grocery Shopping

Sign Up
Search
Customer Item

Login

Receive Track Order Email


Order Confirmation

Class Diagram

Products
Admin
-id : integer
-id : integer #Name : String
-Name: String manages #Group :String
#Sub group: char
+ViewProducts()
+AddProducts()
+DeleteProducts()
+ModifyProducts()
+MakeShipment()
+ConfirmDelivery()
Buys

Cart
Customer -id : Integer
-id : String #NumberOfProducts: In
#Name : String #Productt1: char
+Address : string #Productt2: char
+phone no: int #Producttn: char
+BuyProduct() #price : float
+viewProduct() #Total : float
+MakePayment() add products
+AddToCart()
+DeleteFromCart()
Pays

Payment

#CustomerId : String
#Name : String
-CardType : String
-CardNo : String

Use Case Diagram

Search

Browse

Customer

Profile
Edit

Sequence Diagram

Customer View
Sign Up Home Profile

Customer

1. Username()

2. Password() 3. Valid ()

4. Invalid() 5. View Profile()

6. View Products()
View Shopping
Search Cart
Item Found View Add to
Items Shopping Cart
Edit Shopping
Cart

Not Found

Credit Card

Debit Crad Payment Confirm


Order

Cah on Delivery

Products Guest
-id : integer
#Name : String
#Group :String Views
#Sub group: char
+ViewProducts()
+GetRegistered()

Cart

-id : Integer
#NumberOfProducts: Integer
#Productt1: char
#Productt2: char
#Producttn: char
#price : float
#Total : float
Add to
Shopping
Cart View Kart

Edit
Quantity
Order

Checkout

Add
Profile Category
Register

Delete
Category

Login/
Logout
Delete
Category

Login/
Logout
Add
Edit Product
Delete
Product

View View Order Change


Wallet Password
Profile Products Product

6. View Products()

7. Order Products()

8. View Wallet()
9. Change Password()

10. Logout()
View Shopping
Cart

Edit Shopping
Cart
Delete
Product Admin

Logout

You might also like