0% found this document useful (0 votes)
29 views5 pages

Comprog Group 9 Online Shopping

Uploaded by

Xanika.ggyhf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views5 pages

Comprog Group 9 Online Shopping

Uploaded by

Xanika.ggyhf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1.

User Registration/Login:
The system gives an opportunity for the user to either register for the first time by providing a username,
password, and e-mail or to login with his previous credentials and validates the information and directs
him to the homepage on successful login or shows an error message if the login fails or the account does
not exist.

2. Search for Wanted Product:


In this step, the user just needs to search for the desired product, and then the system checks the products
available in its database. If any matching product is found, then it will display that along with the price,
rating, and whether or not the stock is available in the system, and otherwise will return "no results" for
that search.

3. Add to Cart:
From the search results list, the user selects the product he or she will order, further selects the quantity
and variations desired (such as size and color), and adds it to the shopping cart, while the system will
dynamically update the total cost in accordance with the item(s) selected.

4. View Cart and Change:


The system will show you all items in the user's cart along with their total cost. the user can change
quantities, remove items, or continue shopping, while ensuring that any changes are shown instantly in
the revised total.

5. Checkout:
Shipping information is specified by the customer, along with a payment option, say cash on delivery or a
cashless payment tool such as credit card. the necessary payment information is then submitted and the
system determines to finalize the order and begin processing the payment.

6. Order verification and shipping:


When an order is placed, the system verifies the payment, accepts the order, and provides user
information regarding shipment tracking with estimated delivery time and tracking information.

7. Placed Order and New Transaction:


Inform the user that an order is being made, then display "payment pending" for cash on delivery and
"order successful" if the payment is cashless. Ask the user whether he would like to place another order or
not. In case the answer is yes, direct the user to a product search; in case the answer is no, thank the
customer and conclude the process.
1. INPUT "User Registration/ Login"
INPUT "sign up or sign in"
IF already have an account click sign in
THEN enter information (username, password)
IF login successful
THEN display "Login Successful" proceed to home page
ELSE
display "Login failed, username or password incorrect" Go back to step 1
ELSE
display "Account doesn't exist" go back to step 1
IF don't have any account click sign up
THEN enter information (username, password, email)
IF username already exist
display "Username already exist, please choose another username"
ELSE
display "account created successfully" and proceed to home page

2. INPUT "Home page"


Input "Search item"
READ item
IF item Query=available THEN
Display item Query
ELSE
Go back to Step 2
SHOW item results
IF results= availabe THEN
Display items+price+rating+stock availablE
ELSE
Display "no result"
3. INPUT "Add to cart"
IF user specify quantity+ variations = add to cart
IF product quantity is >0
THEN modify the quantity and add to cart
IF the product variations is available
THEN add to cart
ELSE
wait for the restock
ELSE
return to step 2

4. INPUT "modify cart"


IF cart = empty then
DISPLAY "no items"
ELSE
DISPLAY cart items and total price

INPUT "Modify Items"


INPUT "would you like to edit? yes/no"
IF yes THEN
modify items
IF item = 0
DISPLAY "item removed"
IF Item >= original quantity
DISPLAY updated quantity and total price

ELSE
continue shopping
5. INPUT "CHECK OUT"
IF delivery Details = Correct
THEN display "Payment Details"
INPUT "Payment Method (Cash on delivery/Online Payment)"
IF Cash on Delivery
THEN Face-To-Face payment
IF Online Payment
INPUT "Select Payment Method (Card/ E-Wallet)"
IF CARD THEN
INPUT "Enter Card Number, CVV"
IF Card Number/CVV =correct
INPUT “Enter amount”
INPUT “ enter 4-digit PIN”
IF PIN=correct
Display “transaction complete”
ELSE
Display “Invalid transaction”
IF E-wallet
INPUT "Enter E-Wallet Account (phone number)”
IF account = correct
INPUT "Enter OTP sent to your registered number to confirm your transaction"
IF OTP = Correct
Display “transaction complete”
ELSE
DISPLAY “invalid transaction”

INPUT “Check Pay Balance”


IF balance is < total amount of product
THEN display "insufficient balance/invalid transaction"
IF balance is => total amount of product
THEN proceed to online payment method
INPUT "Enter your OTP sent to your registered mobile number"
DISPLAY "Transaction Complete"

6. INPUT “Select (Confirm / Cancel)”


IF Confirm
PRINT Product Info
PRINT Total Amount
PRINT Payment Method
PRINT Shipping details
PRINT Track Num
ELSE
INPUT: “Discard order”
INPUT: “Discard payment”
Go back to step 2
7. INPUT "Place order"
DISPLAY "Your order is being processed...."
IF Cash on delivery
DISPLAY "Payment pending"
IF Cashless payment
DISPLAY "Order successful"
INPUT: "Would you like to start a new transaction or place a new order? (yes/no)"
IF "yes"
THEN go back to step 2
ELSE
DISPLAY "Thank you for your order! Your order has been successfully placed. We will process it
shortly and notify you when it ships."

END

You might also like