1
eCart Online Shopping portal
A Project Report
Submitted in the partial fulfillment for the award of degree of
BACHELOR OF TECHNOLOGY
IN
Computer Science & Engineering
UNDER THE SUPERVISION OF
[Link] Sharma
BY
SAJO MON S, SUMIT
TO
NORTHERN INDIA ENGINEERING COLLEGE, NEW DELHI
April, 2016
DECLARATION
This is to certify that the project entitled eCart-Online Shopping Portal which is
submitted by us in partial fulfillment of the requirement for the award of degree [Link] in
Computer Science & Engineering to NORTHERN INDIA ENGINEERING COLLEGE,
New Delhi, comprises only my original work and due acknowledgement has been made in
the text to all other material used.
DATE: 06-NOVEMBER-2015
Name of Students:
SAJO MON S
SUMIT
Approved By:
ACKNOWLEDGEMENT
Gratitude cannot be seen or expressed. It can only be felt in heart and is beyond
description. Often words are inadequate to serve as a model of expression of ones feeling,
specially the sense of indebtedness and gratitude to all those who help us in our duty.
It is of immense pleasure and profound privilege to express my gratitude and
indebtedness along with sincere thanks to [Link] Sharma for providing me the
opportunity to work for a project on eCart-Online Shopping Portal.
I want to formally acknowledge my sincerest gratitude to all those who assisted and
guided me in completing this project report and making my training a memorable and
successful experience.
ABSTRACT
The central concept of the application is to allow the customer to shop virtually
using the Internet and allow customers to buy the items and articles of their
desire from the store. The information pertaining to the products are stores on
an RDBMS at the server side (store). The Server process the customers and the
items are shipped to the address submitted by them. The application was
designed into two modules first Os for the customers who wish to buy the
articles. Second is for the storekeepers who maintains and updates the
information pertaining to the articles and those of the customers? The end user
of this product is a departmental store where the application is hosted on the
web and the administrator maintains the database. The application which is
deployed at the customer database, the details of the items are brought forward
from the database for the customer view based on the selection through the
menu and the database of all the products are updated at the end of each
transaction. Data entry into the application can be done through various screens
designed for various levels of users. Once the authorized personnel feed the
relevant data into the system, several reports could be generated as per the
security.
TABLE OF CONTENTS
ABSTRACT i
LIST OF FIGURE ii
LIST OF TABLES iv
ACKNOWLEDGEMENT v
1. INTRODUCTION PAGE
1.1 PROJECT OBJECTIVES 1
1.2 PROJECT OVER VIEW 2
1.3 PROJECT SCOPE 2
1.4 STUDY OF SYSTEMS 3
1.4.1 MODULES 3
[Link] ADMIN 3
[Link] MODERATOR 11
[Link] USER 12
2. SYSTEM ANALYSIS 15
2.1 EXISTING SYSTEM 15
2.2 PROPOSED SYSTEM 16
2.3 SYSTEM REQUIREMENT SPECIFICATION 16
2.3.1 GENERAL DESCRIPTION 16
2.3.2 SYSTEM OBJECTIVES 17
2.3.3 SYSTEM REQUIREMENTS 17
[Link] NON FUNCTIONAL REQUIREMENT 18
[Link] FUNCTIONAL REQUIREMENT 19
3. SYSTEM DESIGN 23
3.1 INPUT AND OUTPUT DESIGN 24
3.1.1 INPUT DESIGN 24
3.1.2 OUTPUT DESIGN 24
3.2 DATABASE 25
3.3 SYSTEM TOOLS 25
3.3.1 FRONT END 26
3.3.2 BACK END 27
3.4 TABLES 28
3.5 E-R DIAGRAMS 30
3.6 DATA FLOW DIAGRAMS (DFD) 32
3.7 SCREEN SHOTS 39
3.8 SAMPLE CODE 47
4. CONCLUSION 67
REFERENCES 69
INTRODUCTION
This project is a web based shopping system for an existing shop. The project
objective is to deliver the online shopping application into android platform.
Online shopping is the process whereby consumers directly buy goods or
services from a seller in real-time, without an intermediary service, over the
Internet. It is a form of electronic commerce. This project is an attempt to
provide the advantages of online shopping to customers of a real shop. It helps
buying the products in the shop anywhere through internet by using an android
device. Thus the customer will get the service of online shopping and home
delivery from his favourite shop.
1.1 PROJECT OBJECTIVE:
The objective of the project is to make an application in android platform to
purchase items in an existing shop. In order to build such an application
complete web support need to be provided. A complete and efficient web
application which can provide the online shopping experience is the basic
objective of the project. The web application can be implemented in the form of
an android application with web view.
1.2 PROJECT OVER VIEW:
The central concept of the application is to allow the customer to shop virtually
using the Internet and allow customers to buy the items and articles of their
desire from the store. The information pertaining to the products are stores on
an RDBMS at the server side (store).
The Server process the customers and the items are shipped to the address
submitted by them. The application was designed into two modules first is for
the customers who wish to buy the articles. Second is for the storekeepers who
maintains and updates the information pertaining to the articles and those of the
customers. The end user of this product is a departmental store where the
application is hosted on the web and the administrator maintains the database.
The application which is deployed at the customer database, the details of the
items are brought forward from the database for the customer view based on the
selection through the menu and the database of all the products are updated at
the end of each transaction. Data entry into the application can be done through
various screens designed for various levels of users. Once the authorized
personnel feed the relevant data into the system, several reports could be
generated as per the security.
Proposed System:
The development of this new system contains the following activities, which try
to develop on-line application by keeping the entire process in the view of
database integration approach.
Secure registration and profile management facilities for Customers.
Browsing through the e-Mall to see the items that are there in each
category of products like Apparel, Kitchen accessories, Bath accessories,
Food items etc.
Creating a Shopping cart so that customer can Shoppe n no. of items
and checkout finally with the entire shopping cart
Customers should be able to mail the Shop about the items they would
like to see in the Shop
Secured mechanism for checking out from the Shop( Credit card
verification mechanism )
Updates to customers about the Recent Items in the Shop.
Uploading Most Purchased Items in each category of products in the
Shop like Apparel, Kitchen accessories, Bath accessories, Food items etc.
Number of Modules
The system after careful analysis has been identified to be presented with the
following modules:
1 Customer.
2 Employee.
3 Admin Module.
4 Security and Authentication
Software Requirements
Operating System
Windows XP/7 or Linux
User Interface
HTML, CSS
Client-side Scripting
JavaScript
Programming Language
Java
Web Applications
JDBC, Servlets, JSP
IDE/Workbench
My Eclipse 6.0
Database
Oracle 10g
Server Deployment
Tomcat 5.x
Frame Work
Struts 1.x
Hardware Requirements
Processor
Pentium IV
Hard Disk
40GB
RAM
512MB or more
10
STUDY OF THE SYSTEM
1.4.1 MODULES:
The system after careful analysis has been identified to be presented with the
following modules and roles.
The modules involved are:
Administrator
Moderators
Users
[Link] ADMINISTRATOR:
The administrator is the super user of this application. Only admin have
access into this admin page. Admin may be the owner of the shop. The
administrator has all the information about all the users and about all
products.
This module is divided into different sub-modules.
Manage Moderators
Manage Products
Manage Users
Manage Orders
11
Fig 1.1: Admin module
12
MANAGE MODERATOR
Fig
1.2: Manage Moderator
Add Moderator
Only admin is having the privilege to add a moderator. A moderator can be considered as
a staff who manages the orders or owner of a group of products.
Block moderator
Admin can restrict a moderator from managing the orders by blocking them. Admin can
unblock a blocked user if needed.
Remove Moderator
Admin has privilege to delete a moderator who was added.
Search moderator:
All existing moderators can be viewed by the administrator as a list. If there is number of
moderators and admin need to find one of them, the admin can search for a moderator by
name.
13
MANAGE PRODUCTS
Fig
1.3: Manage Products
Add Products
The shopping cart project contains different kind of products. The products can be
classified into different categories by name. Admin can add new products into the existing
system with all its details including an image.
Delete Products
Administrator can delete the products based on the stock of that particular product.
Search products
Admin will have a list view of all the existing products. He can also search for a
particular product by name.
14
MANAGE USER
Fig 1.4: Manage User
View Users
The admin will have a list view of all the users registered in the system. Admin can view
all the details of each user in the list except password.
Add Users
Admin has privileges to add a user directly by providing the details.
Delete &Block Users
Administrator has a right to delete or block a user. The default status of a new user
registered is set as blocked. The admin must accept the new user by unblocking him.
15
MANAGE ORDERS
Fig 1.5: Manage Orders
View Order
Administrator can view the Orders which is generated by the users. He can verify the
details of the purchase.
Delete order
Admin can delete order from the orders list when the product is taken for delivery.
[Link] MODERATORS
Fig 1.6: Moderator Module
A moderator is considered as a staff who can manage orders for the time
being. As a future update moderator may give facility to add and manage his
own products . Moderators can reduce the work load of admin. Now
moderator has all the privilege an admin having except managing other
Online Shopping System Department of Computer Science, CUSAT Page 22
moderators. He can add products and users. He can also check the orders and
edit his profile.
Manage products
Manage users
Manage orders
16
[Link] USERS
Fig 1.7: User Module
Registration
Online Shopping System Department of Computer Science, CUSAT Page 23
A new user will have to register in the system by providing essential details
in order to view the products in the system. The admin must accept a new
user by unblocking him.
Login
A user must login with his user name and password to the system after
registration.
View Products
User can view the list of products based on their names after successful
login. A detailed description of a particular product with product name,
products details, product image, price can be viewed by users.
Search Product
Users can search for a particular product in the list by name.
Add to cart:
The user can add the desired product into his cart by clicking add to cart
option on the product.
He can view his cart by clicking on the cart button. All products added by
cart can be viewed in the cart. User can remove an item from the cart by
clicking remove. Online Shopping System Department of Computer Science,
CUSAT Page 24
Submit Cart:
17
After confirming the items in the cart the user can submit the cart by
providing a delivery [Link] successful submitting the cart will become
empty.
History
In the history the user will have a view of pending orders.
Edit Profile
The user can view and edit the profile.
18
SCREEN SHOTS
19
HOME PAGE
20
USER REGISTRATION PAGE
21
22
LOGIN PAGE
23
ADMINISTRATOR HOMEPAGE
24
USER DETAILS PAGE
CATEGORY
-TABLE
LOGIN-TABLE
25
NEW_PRODUCT TABLE
26
PRODUCT- DETAILS TABLE
SELLER TABLE
27
28
SPECIAL-PRODUCT TABLE
SUB-CATEGORY TABLE
29
USER-DETAILS TABLE
30
INTERPRETATION OF
THE RESULT
31
The system has been implemented and tested successfully. It meets
the information requirements specified to the great extent. although
the system has been designed keeping the present and future
requirements in mind and made very flexible.
There are limitations of the system. proper consideration has been
given for a wide range of new [Link] system is developed
user [Link] future , if it is required to generate reports other than
provided by the system it can be simply achieved by a separate
module to the main menu without affecting the design of the system.