You are on page 1of 38

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

“JNANA SANGAMA” BELAGAVI- 590018, KARNATAKA

DBMS MINI PROJECT REPORT


On

“ONLINE SHOPPING”
Submitted in the partial fulfilment of the requirement for the award of degree of
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
BY
C G VINEETH KUMAR PENUKONDA HEMA SATHWIKA

1RL20CS016 1RL20CS059
Under the Guidance of
SHANKAR N B PRAVEEN S R
Associate Professor Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

R L JALAPPA INSTITUTE OF TECHNOLOGY


DODDABALLAPUR-561 203 (KARNATAKA) 2019-2020
(A Unit of Sri Devaraj Urs Educational Trust (Regd.))
R L JALAPPA INSTITUTE OF TECHNOLOGY
DODDABALLAPUR -561203 (KARNATAKA)
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

This is to certify that the Project work entitled “Online shopping” is a bonafied work carried
out by C G Vineeth Kumar(1RL20CS016), Penukonda Hema Sathwika (1RL20CS059) in
partial fulfilment for the requirement of V semester, Bachelor of Engineering in Computer
Science & Engineering of VISVESVARAYATECHNOLOGICAL UNIVERSITY, Belagavi,
during the year 2023-24. It is certified that all corrections/suggestions indicated for the internal
assessment have been incorporated in the report. This report has been approved as it satisfies the
academic requirements in respect of mini project work prescribed for said degree.

---------------------------- ---------------------------- ----------------------------


Signature of Guide1 Signature of co-ordinator Signature of HOD Signature of Principal
Shankar N B Praveen S R Dr. Murali G Dr. Vijay Karthik
Assossiate Professor Assistant Professor Dept. of CS&E RLJIT
Dept. of CS&E, RLJIT Dept. of CS&E, RLJIT RLJIT

Evaluators

Name Signature

1. __________________________

2. __________________________

1
ACKNOWLEDGEMENT

With Great pride we would like to convey our gratitude and appreciation to our college
“R. L. Jalappa Institute of Technology” for giving us the required platform for the fulfilment
of the Mini project on **Online shopping ** as per the V.T.U requirements, for the Fifth
semester Lab on the DBMS subject.

We express my sincere thanks to Dr. Vijay Karthik, Principal of R. L. Jalappa Insitiute


of Technology, Dodaballapura for providing me with excellent infrastructure to complete the
Mini project.

We express wholehearted gratitude to Dr. Murali G who is the respectable HOD of


Computer Science Department. We wish to acknowledge his help in making my task easy by
providing me with his valuable help and encouragement.

It is our pleasure to thank our guide Mr. Praveen SR Assistant Professor and Shankar
N B Assossiate professor, Department of Computer Science and Engineering, RLJIT for
their guidance, encouragement and valuable suggestion from the beginning of the Mini project
work till the completion without which this Mini project work would not have been
accomplished. We are greatly indebted to them.

And last but not the least, we would be very pleased to express our heart full thanks to the
Teaching and Non-teaching staff of the Department of Computer Science and Engineering,
RLJIT for their motivation and support.

We also thank all those who extended their support and co-operation while bringing out
this Mini project.

C G Vineeth Kumar (1RL20CS016)

Penukonda Hema Sathwika (1RL20CS059)

2
ABSTRACT
An online shopping system that permits a customer to submit online orders for items and/or
services from a store that serves both walk-in customers and online customers. The online
shopping system presents an online display of an order cut off time and an associated delivery
window for items selected by the customer. The system accepts the customer's submission of a
purchase order for the item in response to a time of submission being before the order cut off
time.

The online shopping system does not settle with a credit supplier of the customer
until the item selected by the customer is picked from inventory but before it is delivered.
Therefore, are presented to the customer as a function of customer selected order and service
types and further, the order picking is assigned in accordance with a picker's preference. When
ordering goods, many shopping systems provide a virtual the customer can go online and make
changes to the order. In addition, available service windows shopping cart for holding items
selected for purchase. Successive items selected for purchase are placed into the virtual shopping
cart until a customer completes their shopping trip. Virtual shopping carts may be examined at
any time, and their contents can be edited or deleted at the option of the customer. Once the
customer decides to submit a purchase order, the customer may print the contents of the virtual
shopping basket in order to obtain a hard copy record of the transaction.

3
CHAPTER TABLE OF CONTENTS PAGE NO

NO

4
1 INTRODUCTION TO ONLINE SHOPPING 7
Introduction
1.1 7

Reasons for Project


1.2 7

Problem Statements
1.3 7

Aims and objectives


1.4 8

Scope
1.5 8

2 DESIGN AND ANALYSIS 9

2.1 How Online shopping services work 9

2.2 Benefits of online shopping 9

2.3 E-R Diagram 10

2.4 Schema Diagram 11

3 SYSTEM REQUIREMENTS 12

3.1 Hardware Requirements 12

3.2 Software Requirements 12

3.3 Other Requirements 12

3.4 Tool used 12

4 IMPLEMENTATION 13
Implementation Accepts
4.1 14

4.2 Backend: MySQL 16-20

4.3 Frontend: PHP 21-22

5
5 SYSTEM TESTING 23

6 RESULTS 24-34

7 CONCLUSION 35

LIST OF FIGURES

NUMBER NAME PAGE NO

6
1 ER-DIAGRAM 10

2 SCHEMA DIAGRAM 11

3 HOMEPAGE 24

4 ABOUTUS 25

5 LOGIN 26

6 BOOK CATALOGUTES 27

7 ELECTONIC CATALOGUTES 28

8 FURNITURE 29

9 ADDRESS PAGE 30

10 FASHION CATALOGUTES 31

11 BOKKING STATUS 32

Chapter:1

INTRODUCTION TO ONLINE SHOPPING SYSTEM


1.1Introduction

This project is a web-based shopping system for an existing shop. The project objective is

7
to deliver the online shopping application into android platform. It is the form of electronic

commerce. An online shop, e-shop, web shop evokes the physical analogy of buying products or

services at a bricks and mortar retailer or in a shopping centre.

1.2Reason for the Project

People in large number are doing online shopping today, and it is not only because it is
convenient as one can shop from home, but also because there is an ample number of varieties
available, with a high competition of prices, and also it is easy to navigate for searching
regarding any particular item Online Vehicle Reservation: A tools through which customers
can reserve available cars online prior to their expected pick-up date or time.

1.3Problem Statement

This project aims to develop an online shopping for customers with the goal so that it is very
easy to shop your loved things from a extensive number of online shopping sites available on the
web. With the help of this you can carry out an online shopping from your home. Here is no
compelling reason to go to the crowed stores or shopping centres during festival seasons. You
simply require a PC or a laptop and one important payment sending option to shop online.

1.4 Aims & Objectives

 The primary goal of e-commerce is to reach maximum customers at the right time to
increase sales and profitability of the business.

8
 This makes consumers satisfy with the online shopping because they can buy goods with
lower prices without spending extra energy to shop many shops.

1.5 Scope

 This project traverses a lot of areas ranging from business concept to computing field,
and required to perform several researches to be able to achieve the project objectives.
The area covers include: a lot of e-commerce outlets still miss out on a lot of
opportunities. The number of online shoppers became 900 million more in 2022 than in
2021.
 PHP Technology used for the development of the application.
 Online shopping offers great safety in shopping from home, especially in times like the
present – when the global pandemic is threatening the health of all those who mingle in
public.
 Web-platform means that the system will be available for access 24/7 except when
there is a temporary server issue which is expected to be minimal.

9
Chapter:2

DESIGN AND ANALYSIS

2.1 How Online shopping services work

 The software acts as an office that is open 24/7.Online consumers can track the order
status and delivery status tracking of shipping is also available. Wide variety/range of
products are available with discounts and lower prices. Get detailed information about the
product.

2.2 Benefits of Online shopping

 Saves time and efforts. The convenience of shopping at home. Generally, in physical
stores, the sales representatives try to influence the buyers to buy the product. While in
online shopping, you're free to do as you will.

 Customers do not have to stand in queues in cash counters to pay for the products that
have been purchased by them. They can shop from their home or workplace and do not
have to spend time travelling. The mall is open on 365 x 24 x 7. So, time does not act as a
barrier, wherever the vendor and buyers are. The software acts as an office that is open
24/7.Online consumers can track the order status and delivery status tracking of shipping
is also available. Wide variety/range of products are available with discounts and lower
prices. Get detailed information about the product.

10
2.3E-R Diagram

11
2.4 Schema Diagram

Fig2.4 Schema Diagram

12
Chapter:3
SYSTEM REQUIREMENT

3.1Hardware Requirements:

 Minimum PIV 2.8 GHz Processor


 Minimum RAM 512MB
 Minimum HDD 20 GB Hard Disk Space

3.2Software Requirements:

 WINDOWS OS (XP / 2000 / 2003 Server)


 Visual Studio .Net 2005 Enterprise Edition
 Visual Studio .Net Framework (Minimal for Deployment)
 SQL Server 2000/2005

3.3Other Requirements:

 Security
 Portability
 Flexibility
 Correctness

3.4Toolused: Xampp

13
Chapter:4

Implementation
PSEUDO CODE

//DEFINE A FUNCTION TO START AN ONLINE SHOPPING SESSION

FUNCTION STARTONLINESHOPPING ()

// ASK USER TO LOGIN

PROMPT USER TO LOGIN ()

// IF USER IS LOGGED IN, DISPLAY LIST OF ITEMS TO PURCHASE

IF LOGGED IN ()

DISPLAY LIST OF ITEMS ()

// ASK USER TO SELECT ITEMS TO PURCHASE

PROMPT USER TO SELECT ITEMS ()

// ADD ITEMS TO SHOPPING CART

ADD ITEMS TO SHOPPING CART ()

// CALCULATE TOTAL COST OF ITEMS IN CART

CALCULATE TOTAL COST ()

// ASK USER TO ENTER PAYMENT INFORMATION

PROMPT USER TO ENTER PAYMENT INFO ()

// PROCESS PAYMENT INFORMATION

PROCESS PAYMENT ()

// CONFIRM PURCHASE AND DISPLAY ORDER CONFIRMATION

CONFIRM PURCHASE AND DISPLAY ORDER CONFIRMATION ()

END FUNCTION

14
4.1 Implementation Accepts:

 Detailed Design of Implementation: The implementation of the system simply shows


how the new system should be applied in order to ensure good performance which can be
achieved via system conversion or changing over from the old system to the new system.
The different approaches to system conversion are: Direct approach: This is otherwise
known as the scratch approach which involves the total replacement of the old system
with the new one. This approach allows the new system to be tested properly in order to
determine it efficiency, reliability and durability before the old system is finally phased
out.

 Parallel approach: This is a simultaneous data processing on both old and new system
for a period of time.

 Programming and Testing: This activity encompasses actual development writing and
testing of the program units or modules.

 User Training: Thus, activity encompasses writing user procedure manuals preparation
of user training materials conducting training programs and testing procedures.

 Installation Phase: In this phase new computerized system is installed the conversion to
new procedure is fully implemented and potential of new system is explored.

 System Installation: The process of starting the actual use of a system and training user
personnel in its operation.

15
Review Phase: This phase evaluates the successes and failures during a system development
project and to measure the results of new computerised trans system in terms of benefits and
savings projected at the start of the project.

Development Recap: A review of a project immediately after completion to find successes


and potential problems in future work.

Post-Implementation Review: A review conducted after a new system has been in operation
for some time to evaluate actual system performance against original expectations and
projections for Cost-benefits improve the system.

16
4.2 BackEnd: MySQL

A Back-End Data base is a data base that is accessed by users indirectly through an

Internal application rather than by application programming stored with in the

Data base itself or by low level manipulation of the data.

SQL QUERIES

Table structure for table `admin`

CREATE TABLE `admin` (

`id` int(11) NOT NULL,

`username` varchar(255) NOT NULL,

`password` varchar(255) NOT NULL,

`creationDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,

`updationDate` varchar(255) NOT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Table structure for `category`

CREATE TABLE `category` (

`id` int(11) NOT NULL,

`categoryName` varchar(255) DEFAULT NULL,

`categoryDescription` longtext,

`creationDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,

`updationDate` varchar(255) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

17
Table structure for table `orders`

-- Table structure for table `orders`

CREATE TABLE `orders` (

`id` int(11) NOT NULL,

`userId` int(11) DEFAULT NULL,

`productId` varchar(255) DEFAULT NULL,

`quantity` int(11) DEFAULT NULL,

`orderDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,

`paymentMethod` varchar(50) DEFAULT NULL,

`orderStatus` varchar(55) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Table structure for table `ordertrackhistory`

CREATE TABLE `ordertrackhistory` (

`id` int(11) NOT NULL,

`orderId` int(11) DEFAULT NULL,

`status` varchar(255) DEFAULT NULL,

`remark` mediumtext,

`postingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

18
Table structure for table `product reviews`

CREATE TABLE `productreviews` (

`id` int(11) NOT NULL,

`productId` int(11) DEFAULT NULL,

`quality` int(11) DEFAULT NULL,

`price` int(11) DEFAULT NULL,

`value` int(11) DEFAULT NULL,

`name` varchar(255) DEFAULT NULL,

`summary` varchar(255) DEFAULT NULL,

`review` longtext,

`reviewDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Table structure for table `products`

CREATE TABLE `products` (

`id` int(11) NOT NULL,

`category` int(11) NOT NULL,

`subCategory` int(11) DEFAULT NULL,

`productName` varchar(255) DEFAULT NULL,

`productCompany` varchar(255) DEFAULT NULL,

`productPrice` int(11) DEFAULT NULL,

`productPriceBeforeDiscount` int(11) DEFAULT NULL,

`productDescription` longtext,

`productImage1` varchar(255) DEFAULT NULL,

`productImage2` varchar(255) DEFAULT NULL,

19
`productImage3` varchar(255) DEFAULT NULL,

`shippingCharge` int(11) DEFAULT NULL,

`productAvailability` varchar(255) DEFAULT NULL,

`postingDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,

`updationDate` varchar(255) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

4.3 FrontEndCss

CSSCode

Connectingtodatabase

.animate-spin {

-moz-animation: spin 2s infinite linear;

-o-animation: spin 2s infinite linear;

-webkit-animation: spin 2s infinite linear;

animation: spin 2s infinite linear;

display: inline-block;

@-moz-keyframes spin {

0% {

-moz-transform: rotate(0deg);

-o-transform: rotate(0deg);

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

20
100% {

-moz-transform: rotate(359deg);

-o-transform: rotate(359deg);

-webkit-transform: rotate(359deg);

transform: rotate(359deg);

@-webkit-keyframes spin {

0% {

-moz-transform: rotate(0deg);

-o-transform: rotate(0deg);

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

100% {

-moz-transform: rotate(359deg);

-o-transform: rotate(359deg);

-webkit-transform: rotate(359deg);

transform: rotate(359deg);

@-o-keyframes spin {

0% {

21
-moz-transform: rotate(0deg);

-o-transform: rotate(0deg);

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

100% {

-moz-transform: rotate(359deg);

-o-transform: rotate(359deg);

-webkit-transform: rotate(359deg);

transform: rotate(359deg);

@-ms-keyframes spin {

0% {

-moz-transform: rotate(0deg);

-o-transform: rotate(0deg);

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

100% {

-moz-transform: rotate(359deg);

-o-transform: rotate(359deg);

22
-webkit-transform: rotate(359deg);

transform: rotate(359deg);

@keyframes spin {

0% {

-moz-transform: rotate(0deg);

-o-transform: rotate(0deg);

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

100% {

-moz-transform: rotate(359deg);

-o-transform: rotate(359deg);

-webkit-transform: rotate(359deg);

transform: rotate(359deg);

23
24
Chapter:5
SYSTEM TESTING
Testing of the process in which the system is run on manually created input so that the
system is correctly working on the desired or not.

During system testing the system is used experimentally to ensure that the software does
not fail in other words we can say that it will run accordingly to its specifications and in the way
user expects special test data are input for processing and the results examined.

A limited number of users may be allowed to use the system so that analyst can see
whether they try to use it in unforeseen ways. It is desirable to discover any surprises before the
organisation implements the system and depends on it.

Testing of a system is generally done in two phase-one is Unit Testing which is done for
each module independently on its completion and other one is Software Testing which is done
at the end of a project.

 Unit Testing:

Unit testing focuses verification effort on the smallest unit of the software design module. The
Unit testing, we have is white box oriented and some modules the steps are conducted in parallel.

 Software Testing:

Software testing may also be viewed in the context of the spiral . Unit testing begins a the vertex
of the spiral and concentrates on each unit of the software as implemented in the source code.
Testing progress by moving outward along the spiral to integrate testing where the focus is on
the design and the construction of the software architecture.

Moving inward along the spiral we come to design and finally to coding to develop computer
software spiral in along streamlines that decreases the level of abstraction on each turn.

25
Chapter:6
RESULT
Homepage:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 The home page figure as shown in below fig6.1

Fig6.1Homepage

26
ABOUT US:

 A homepage for an online shopping management system should include the following
elements:Logo: A logo that clearly represents the brand identity of the online shopping
platform.Navigation menu: A navigation menu that lists the main sections of the
platform, such as home, products, categories, shopping cart, and contact us.Search bar: A
search bar that allows customers to quickly find products they are looking for.Categories:
A list of categories or subcategories of products available on the platform.Featured
products: A section displaying a selection of featured products, highlighting promotions,
new arrivals, and popular items.
 The about us as shown in below figure6.2

Fig:6.2 About us

27
Login Page:

 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The login page figure as shown in below fig6.3

Fig6.3:Login Page

28
Book Catalogue:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 The book catalogue figure as shown in below fig6.4

Fig6.4.book Catalogue

29
Electronics Catalogue:
 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The electronic catalogue figure as shown in below fig6.4

Fig6.4 electronics catalogue

30
Furniture:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The furniture figure is as shown in below fig6.5

Fig6.5Furniture

31
Address page:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The electronic catalogue figure as shown in below fig6.6.

Fig 6.6 Address page

32
Fashion Catalogue:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The electronic catalogue figure as shown in below fig6.7.

Fig 6.7. fashion catalogue

33
Booking status:

 A homepage for an online shopping management system should include the following
elements:
 Logo: A logo that clearly represents the brand identity of the online shopping platform.
 Navigation menu: A navigation menu that lists the main sections of the platform, such as
home, products, categories, shopping cart, and contact us.
 Search bar: A search bar that allows customers to quickly find products they are looking
for.
 Categories: A list of categories or subcategories of products available on the platform.
 Featured products: A section displaying a selection of featured products, highlighting
promotions, new arrivals, and popular items.
 The electronic catalogue figure as shown in below fig6.8.

Fig 6.8. booking status

34
Chapter:7

CONCLUSION

 Technology has made significant progress over the years to provide consumers a better
online shopping experience and will continue to do so for years to come. With the rapid
growth of products and brands, people have speculated that online shopping will overtake
in-store shopping.
 While this has been the case in some areas, there is still demand for brick-and-mortar
stores in market areas where the consumer feels more comfortable seeing and touching
the product being bought. However, the availability of online shopping has produced a
more educated consumer that can shop around with relative ease without having to spend
a large amount of time.
 In exchange, online shopping has opened up doors to many small retailers that would
never be in business if they had to incur the high cost of owning a brick-and-mortar store.
At the end, it has been a win-win situation for both consumer and sellers.

35
36
37

You might also like