You are on page 1of 12

online shopping system

INDEX
1.INTRODUCTION
1.1 PROJECT SCOPE
1.2 OBJECTIVE OF PROJECT
1.3 PROJECT FUNCTION
1.4 HARDWARE AND SOFTWARE SPECIFICATION

2.SPECIFIC REQUIREMENT

2.1 EXTERNAL INTERFACE REQUIREMENT


2.1.1 USER INTERFACE
2.1.2 HARDWARE INTERFACES
2.1.3 SOFTWARE INTERFACES
2.1.4COMMUNICATION INTERFACE

2.2 FUNCTIONAL REQUIREMENT

3 DETAIL DESIGN
3.1 DETAIL ARCHITECTURE
3.2 ANALYSIS
3.3 FUNCTION ANALYSIS

4 TESTING

5 CONCLUSION
1. Introduction

1.1 Project Scope

Online shopping includes a few steps. The customer does the web research about

the product he needs and finds the product listed on the sites of different markets or

stores. He can check the specifications of the product and other features like it’s

quality and price. If he likes the product, he simply adds the product to the cart and

look for another product if he needs. The customer can pay online using different kind

of sources, listed on the website, or can pay on delivery. The product(s) are delivered

to the customer’s given address by a delivery person who mostly is an employee of

the market.

Some people are fond of shopping. They like to go to market and buy their needed

products and even do a little bargaining with the shopkeepers. On the other hand,

there are people who don’t want to waste their time in going to rushed up roads and

reaching shopping malls where hundreds of people are already present. So they

simply book their required product online and get back to their work. The product is

delivered to their door by the delivery boy so they don’t have to bother about

anything.

There are several ways of promoting online shopping being used by people who are

running their businesses. These ways include websites, mobile apps, social media

marketing, and many others. They all are helpful reaching the customers in their

respective ways. People who like to do online shopping, are aware of these ways and

are used to them


1.2 Objective of project

This is a small scale project for Online shopping system. The basic idea is that
customer’s can buy products using online. The user can enter the name and
password and can create an account.The Online Shopping system enables
customers to browse through the shops, and a system administrator to maintain
lists of shop categories. It is an online store that enables website owners to sell
their product online. It is a web shopping cart that web enables the day-day
sales functions.This project will be useful to anyone who wants to purchase
items using online shopping.

1.3 Project Functions:

Online Shopping system provides service for both user and admin. So following are
the features divided according to the role of a person.

Owner/Admin Functions:

 Registration: Owner supposes to register himself into the system to access the
software.

 Login: If Owner has registered previously then he can login into the system.

 Features : Once Admin is logged in, he has several features as follows :

a. Add Product: Owner can add product in database.

b. Delete Product: Admin can delete product as well.

c. Logout: Once owner has done with his work, then he can logout from the
system.

Users Function:

 Registration: Customer supposes to register himself to access the system .

 Login: If Customer has registered previously then he can login into the
system.

 Logout: Once customer has done with his work, he can logout from the
system.
1.4 Software and Hardware Specification:

Software Specification

Operating System - Windows 7 or Higher


Front End - C++
Back End - File Handling.

Hardware Specification

Processor - Pentium IV or Higher.


Memory - 4 GB RAM
2. Specific Requirement

2.1 External Interface Requirement

External interface requirements specify hardware, software and below details have
mentioned about interfacing of user with online shopping system.

2.1.1 User interfaces

In this, User interacts with the system through console. After the successful
registration, user can log in into the system with Username & Password.

2.1.2 Hardware interfaces

As in our project, user interacts with the system through console. So hardware
interface can be “keyboard” and “Mouse” through which we can enter the input in
order to interact with the system.

2.1.3 Software interfaces

Software interfaces (programming interfaces) in our system is build on the basis of


C++ language in Dev-C++ environment.

2.1.4 Communication interfaces

This project uses “File Handling” concept to store the data. Here File handling acts as
a database and data is shared through files.

2.2 Functional Requirements

Admin Registration: Owner supposes to register himself into the system to access
the software.

Admin Login: If Owner has registered previously then he can login into the system.

Add Product: Admin can access diffrent categories to add product in database.

Delete Product: Admin can delete product from the diffrent categories as well.

Logout: Once owner has done with his work, then he can logout from the system.

User Registration: Customer supposes to register himself to access the system .

User Login: If Customer has registered previously then he can login into the system
Categories: User can access diffrent categories and can buy product of his choice;

Buy: User can buy product from diffrent categories.

Cart: User can add product into cart and in future he can access his cart and can buy
product in the cart list.

Bill Generate: Bill will be generate after every purchase made by user.

Logout: Once customer has done with his work, he can logout from the system.
3. Detailed Design

Online Shopping System comprises of two modules which are Admin and User.
Admin can register & login to the system. Administrator can maintain list of shop
categories and can add/delete the products from the database through File handling.
Where user can register and login to the system and customen can buy product or can
to cart so that customer can shop ‘n’ no. of item and checkout.Once user has
completed his work, then user can logout.

3.2 Detail architectur

ONLINE SHOPPING

Admin User

1. Registration 1. Registration
2. Login 2. Login
1.3. Add
Adda product
Book 3. Buy
4.
2. AddDelete
a B Product 4. cart
5. Logout
5. Logout

Admin USER
REGISTRATI
Registration
ON

BUY product
or Add into
CART

Delete
Add Product USER
Admin product
into Database LOGIN
Login from
Database

DATABASE
3.3 Analysis

Functions Analysis
4.Testing

There are many modules involved in the system that need to be tested, and some of
them are selected for illustration in this paper.

TABLE 1.Testing for registration

TEST NUMBER INPUT(USERNAM INPUT(PASSWOR ACTUAL OUTPUT PASSED


E) D)
01 NULL NULL Alert fail
message:this cant
be empty
02 Ash win 123 123 Alert Message: fail
Cant use Space
03 ash 123 Registration pass
Successfull
04 ash 123 alert Message: fail
Account already
Exist

TABLE 2.Testing for Login

TEST NUMBER INPUT(USERNAM INPUT(PASSWOR ACTUAL OUTPUT PASSED


E) D)
01 NULL NULL Alert fail
message:this cant
be empty
02 Ash win 123 123 Alert Message: fail
Cant use Space
03 ash 123 Login Successfull pass
04 ash 1234 alert Message: fail
Please Check your
name and
password

4.2 Testing For Admin

TABLE 3.Testing for Add Product

Test Input(produ Input(Produ Input(Produ Input(Price Actual Passed


Nmuber ct ID) ct Name) ct Feature) of Product) Output
01 NULL NULL NULL NULL Alert fail
message:thi
s cant be
empty
02 abc123 any any abc123 Alert Fail
Message:
Bad Input
Integer
value only
03 any iphone 11 32 GB any Alert Fail
Message:
Cant use
Space
04 1234 iphone_11 64GB 64000 ADD pass
Successfully

TABLE 4.Testing for Delete Product

Test Number Input(product ID) Actual Output Paased


01 123 Alert Message: Wrong fail
Product ID
02 abc123 Alert Message: Bad fail
Input Integer value
only
03 1234 Buy Successfully pass

4.2 Testing For User

TABLE 5.Testing for Buy Product

Test Number Input(Product Id) Input(Quantity) Actual Output Passed


01 123 any Alert Message: fail
Wrong Product Id
02 NULL NULL Alert Message: fail
Cant be empty
03 abc123 abc123 Alert Message: fail
Bad Input Integer
value only
04 1234 3 Successfull pass

TABLE 6.Testing for ADD to Cart

Test Number Input(product ID) Actual Output Paased


01 123 Alert Message: Wrong fail
Product ID
02 ABC123 Alert Message: Bad fail
Input Integer value
only
03 1234 Successfully ADDED to pass
CART
Conclusion:

The central concept of the project is to allow the customer to shop and allow the
customer to buy item from diffrent categories.
The project is designed into two modules first for the customer who wish to buy
product and second is for the administrator who maintain and update the database.
This is to conclude that the project that I undertook is worked upon with sincere
efforts.Most of the requirement have been fulfilled up to the mark.

You might also like