0% found this document useful (0 votes)
33 views44 pages

Case Ecomm

The document describes a project to develop an online marketplace called Plant E-commerce for buying plants and related gardening products. It discusses the goals, scope, and methodology of the platform which will offer a diverse range of indoor and outdoor plants. The report also covers market analysis and the technical implementation plan.

Uploaded by

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

Case Ecomm

The document describes a project to develop an online marketplace called Plant E-commerce for buying plants and related gardening products. It discusses the goals, scope, and methodology of the platform which will offer a diverse range of indoor and outdoor plants. The report also covers market analysis and the technical implementation plan.

Uploaded by

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

Affiliated To

Tribhuvan University
Faculty of Humanities & Social Science

A Project Report
On
“Plant E-Commerce”

Submitted to
Department of Humanities (BCA)
Nagarjuna College of IT

In Partial Fulfillment of Requirements for the Bachelor Degree in Computer Application

Submitted by
Rojina Chhetri
T.U. Registration No: 6-2-429-57-2020
Indira Upadhyay
T.U. Registration No: 6-2-429-46-2020
Tina Adhikari
T.U. Registration No: 7-2-39-1136-2019

Under the Supervision of


Mrs. Mohan Singh Ayer
September, 2024
ABSTRACT
The introduction of e-commerce has transformed the way businesses operate, allowing for
seamless transactions and providing convenience to customers all over the world. The
“Plant E-commerce” Project aims to capitalize on this trend by establishing an online
marketplace for buying plants and related. This project report describes the goals, scope,
and methodology for developing the Plant E-commerce platform. The platform will offer a
diverse range of plants, both indoors and outdoors. Customer will be able to browse,
choose, and buy products without leaving their homes. The report goes over how the project
will help meet the growing demand for greenery and gardening enthusiasts. It also focuses
on market analysis, which identifies the target audience, competitors, and potential
challenges in the e-commerce landscape.
The implementation plan describes the technical aspects of platform development, such as
website design, database management, payment integration, and security measures. The
report emphasizes the value of user experience, responsive design, and mobile
compatibility in improving customer satisfaction and retention. The Plant Ecommerce aims
to create a user friendly, secure, and efficient platform for purchasing plants and gardening
products online.

Keywords: Plant, E-commerce, payment integration.

i
ACKNOWLEDGEMENT
I am pleased to present the project report for the "Plant E-commerce" The completion of
this project was made possible thanks to the invaluable assistance and contributions of
many individuals, and I want to express my sincere appreciation to all of them. To begin
with, I would like to extend my gratitude to Tribhuvan University for providing me with
the opportunity to undertake this project. My heartfelt thanks go out to our esteemed project
supervisor, Mrs. Mohan Singh Ayer whose guidance, mentorship, and continuous
encouragement were crucial in shaping this project into its final form. I am greatly indebted
to her for her expertise and dedication. My appreciation extends to our campus Director,
Mr. Jay Mangal Gupta the faculty members of Nagarjuna College of IT, and our seniors,
whose unwavering support and assistance provided me with the strength to navigate this
project's journey. Furthermore, I would like to thank my friends, whose encouragement and
support played a pivotal role in the successful completion of my work. Their motivation
was a driving force behind my efforts. I trust that this project report has been prepared to
meet the course requirements.

ii
TABLE OF CONTENTS
ABSTRACT ..................................................................................................................... i
ACKNOWLEDGEMENT............................................................................................... ii
LIST OF ABBREVIATION ........................................................................................... v
LIST OF FIGURES ........................................................................................................ vi
LIST OF TABLES ........................................................................................................ vii
CHAPTER 1 .................................................................................................................... 1
INTRODUCTION ........................................................................................................... 1
1.1. Introduction: .......................................................................................................... 1
1.2. Problem Statement: ............................................................................................... 1
1.3. Objectives: ............................................................................................................. 2
1.4. Scope and Limitations: .......................................................................................... 2
1.4.1. Scope: ............................................................................................................. 2
1.4.2. Limitations: .................................................................................................... 2
1.5. Development Methodology: .................................................................................. 2
1.6. Report Organization: ............................................................................................. 4
CHAPTER 2 .................................................................................................................... 5
BACKGROUND STUDY AND LITERATURE REVIEW ........................................... 5
2.1. Background Study: ................................................................................................ 5
2.2. Literature Review: ................................................................................................. 5
CHAPTER 3 .................................................................................................................... 8
SYSTEM ANALYSIS AND DESIGN ........................................................................... 8
3.1. System Analysis: ................................................................................................... 8
3.1.1. Requirement Analysis: ................................................................................... 8
3.1.2. Feasibility Analysis:....................................................................................... 9
3.1.3. Data Modelling: ........................................................................................... 10
3.1.4. Process Modelling:....................................................................................... 11
3.2. System Design: .................................................................................................... 14
3.2.1. System Flow Diagram: ................................................................................ 14
CHAPTER 4 .................................................................................................................. 15
IMPLEMENTATION AND TESTING ........................................................................ 15
4.1. Implementation: .................................................................................................. 15
4.2. Testing: ................................................................................................................ 15

iii
4.2.1. Unit Testing: ................................................................................................ 15
4.2.2. Integration Testing: ...................................................................................... 20
CHAPTER 5 .................................................................................................................. 22
RESULT AND CONCLUSION ................................................................................... 22
5.1. Result:.................................................................................................................. 22
5.2. Conclusion:.......................................................................................................... 23
5.3. Future Enhancements: ......................................................................................... 23
References ..................................................................................................................... 24
APPENDICES ............................................................................................................... 25
Appendices A: Screenshots............................................................................................ 25
Appendices B: Source code ........................................................................................... 30

iv
LIST OF ABBREVIATION
ABBREVIATION DEFINITION
CSS Cascading Style Sheets
DFD Data Flow Diagram
ER Entity-Relationship
GUI Graphical User Interface
HTML Hypertext Markup Language
JS JavaScript
PHP Hypertext Pre-Processor
SDLC Software Development Life Cycle
SQL Structured Query Language
TU Tribhuvan University
VS Code Visual Studio Code
XAMPP X-operating system, Apache, Mysql, Php, Perl

v
LIST OF FIGURES

Figure 1 1.1: Use Case Diagram of Plant Ecommerce ........................................................ 8

Figure 1 2.2: ER Diagram Plant Ecommerce..................................................................... 10

Figure 1 3.3: Context Diagram .......................................................................................... 11

Figure 1 4.4: Level 1 Admin .............................................................................................. 12

Figure 1 5.5: Level 1 Users. ............................................................................................... 13

Figure 1 6.6: System Flow Diagram .................................................................................. 14

vi
LIST OF TABLES

Table 3.1 1: Gantt Chart..................................................................................................... 10

Table 3.1 2: Unit Testing ................................................................................................... 16

Table 3.1 3: Admin Panel .................................................................................................. 17

Table 3.1 4: User panel ...................................................................................................... 19

Table 3.1 5: System Testing............................................................................................... 21

vii
CHAPTER 1
INTRODUCTION
1.1. Introduction:
In today's digital age, ecommerce platforms have become essential for businesses looking
to reach a larger audience and streamline sales processes. Plant E-commerce is a unique
online destination dedicated to improving people's lives through indoor plants. Our mission
is to make plant care easy and enjoyable for everyone, regardless of gardening experience.
We have a diverse selection of indoor plants, including succulents, ferns, air plants, and
more, all carefully chosen for their beauty, resilience, and ease of care.

At Plant E-commerce, we believe that plants have the ability to transform spaces and lift
spirits. Whether you're a seasoned green thumb or a novice gardener, our diverse selection
of plants, flowers, and herbs has something for everyone. Our platform is designed to
provide a seamless shopping experience, with detailed plant descriptions, and tips to assist
customers in selecting and nurturing their plants effectively. We believe that plants not only
improve the appearance of living spaces, but also contribute to mental health, air quality,
and overall happiness.

Plant E-commerce, however, is more than just a plant store; it is a community of plant
enthusiasts who are united by a love of nature and a dedication to sustainability. Join us on
a journey of discovery as we explore the wonders of the plant kingdom, share gardening
advice, and celebrate the beauty of green living.
Plant E-commerce is a platform that allows customers to buy products and services online.
Where the customers browse and view the product available for purchase. This website
contains user friendly UI with admin dashboard and provide a secure payment method and
hassle-free way to shop.

1.2. Problem Statement:


Plant E-commerce is a complex task that requires careful planning and execution. Plant E-
commerce must transition from manual plant sales to an efficient online system due to the
inefficiency and errors associated with traditional techniques. Implementing a user-friendly
and scalable ecommerce platform is critical for effectively managing sales across multiple
environments.

1
1.3. Objectives:
To transition from manual sales methods to an efficient online system, Plant E-commerce
aims to achieve the following objectives.
Some other objectives of the projects are:

 To improve sales efficiency by implementing an online ecommerce platform.


 To provide flexibility to adapt to the evolving needs of the floral industry.
 To expand market reach by leveraging the power of digital commerce.

1.4. Scope and Limitations:


1.4.1. Scope:
The scope of Plant E-commerce includes the creation and implementation of a
comprehensive online ecommerce platform designed specifically for the plant industry.
This includes creating and launching a user-friendly website that highlights the boutique's
exquisite floral arrangements and offers customers a seamless browsing and purchasing
experience. Additionally, the scope includes the integration of secure payment gateways to
facilitate hassle-free transactions while protecting sensitive customer information.
1.4.2. Limitations:
The limitation of the project is:
• Budget constraints.

• Scalability challenges.

• Not applicable for larger organizations.

• Scalability and Performance.

1.5. Development Methodology:


Iterative Waterfall Methodology was used to develop our project. The reason for choosing
the iterative waterfall methodology for developing the Plant E-commerce was the project
requirements were clear and unlikely to change. With iterative waterfall, we followed a
step-by-step approach where each phase was completed before moving on to the next. This
helped us to ensure that we had a solid foundation before moving forward and reduce the
risk of confusion and unexpected changes.

2
Figure 0-1.1: Iterative Waterfall model

Here, are some details about how the above steps were implemented: -
 Requirements
The iterative waterfall requirement phase involves analyzing and documentation of all
needs and requirements. In the initial stage of developing ' Plant E-commerce’I all the
gathered vital information. I carefully defined the software's objectives, which included
identifying the core functionalities that would make Plant E-commerce a comprehensive
solution. After lots of discussions and planning, put together a detailed information that
listed all the things the requirements of software. This phase provided a clear roadmap for
the development process in a systematic manner.
 Design
Once the requirements were finalized, I began the system design phase. I created UI/UX of
our proposed system, including the data flows and various other diagrams. This phase
ensured that all aspects of the system were properly planned and documented before
moving to the next stage.
 Implementation
In the next phase, after finalizing the design we worked on actually building ' Plant E-
commerce ' This involved writing the code that made the software run, using languages like
HTML, CSS, JavaScript, and PHP. I followed the detailed plan laid out in the requirements
document to ensure and included all the features and functions which was defined earlier.
 Testing
In the testing phase, I put my system through different testing levels to make sure it worked
correctly and met requirements. I carried out a series of tests to identify any issues, bugs,

3
or glitches in the software. I tested every aspect of the software, from the user interface to
the functionality. I made sure that users could easily see different plant details and get
notified of being approved or cancelled. If any issues were detected, it was corrected
immediately.
 Maintenance
Here , I make sure that the system is managed and enhanced even after its deployment and
ensure the system's continued functionality, performance, and usability over time.

1.6. Report Organization:


The report is organization into 5 chapters:
Chapter 1: Introduction:
In this section, the brief introduction of our project, statement of problem and its objectives
are discussed.
Chapter 2: Literature Review and System Analysis:
The previous work related to my systems and similar works were studied and different
feasibility analysis is summarized in this section.
Chapter 3: System Design:
In this section, I have design system architecture, system flow diagram, dataflow diagram
etc.
Chapter 4: Implementation and Testing:
In this section, various implementation method and tools are discussed and also contains
description of testing.
Chapter 5: Result and Conclusion:
In this section, conclusion to our project and description about what features can be added
in the future has been described.

4
CHAPTER 2
BACKGROUND STUDY AND LITERATURE REVIEW
2.1. Background Study:
Plant E-commerce is a unique plant shop known for its innovative plants designs. Plant E-
commerce recognizes the importance of establishing an online presence to cater to the
preferences of modern consumers, given its growing customer base and increased demand
for online shopping options. The ecommerce website will function as an extension of the
physical store, providing customers with a convenient and accessible platform to browse,
purchase, and send beautiful plant arrangements for a variety of occasions. Admin can log
into system through their login credentials and after login admin manages various sections
including adding, managing plants. Customer also known as User in the system can register
themselves and after registration, user can log in with registered email id and password. After
login User gets their own profile to manage entire access like selecting plants and add them
to the cart etc. So, the existing system requires more time to do a piece of work, for this
reason the online ecommerce plant shop is implemented.

2.2. Literature Review:


The Electronic Commerce site consists of purchasing and selling products that are intended
to benefit both gardeners and users. This platform aims to assist local gardeners in selling
their plants online and to provide a more convenient and reliable way for users to find,
view, and purchase the desired plants that are suitable for their needs. Customers can also
obtain product descriptions and details online. The website also included an auto suggest
engine, which users could use to search for plants if they didn't know how or what to grow.
cloud-based hospitality property management system designed for independent and chain
hotels, hostels, campgrounds, and vacation rentals, which offers an online booking system
and multiple third-party integrations and partnerships [1].
Plant and Décor provides you with a one-of-a kind and dedicated platform to buy indoor
and outdoor plants in Nepal. Here, you can find indoor plants, plant pots and accessories to
take advantage of all the health benefits these plants provide and to also make your home
look more vibrant and amazing [2].
Mali Nepal is an online plant delivery company based in Kathmandu, Nepal, offering a
delightful selection of the finest plants, fruits, vegetables, and flowers to enhance your
living spaces. Nestled in the serene landscapes of Nepal, our beautiful plant shop takes
pride in cultivating high-quality botanical treasures that bring nature's beauty into your

5
home, office, restaurant, or café. With a passion for nurturing greenery and spreading joy
through vibrant blooms, we invite you to explore our carefully curated collection and find
the ideal plants to elevate your surroundings. Whether you want a touch of greenery to
brighten your workspace or a pop of color to adorn your living room, our exquisite plants
and flowers will infuse your space with beauty, tranquility, and positive energy [3].
Your Koseli is one such celebration portal from which you can buy the best indoor plants
online. The plants online available on our website are potted and are good air purifiers. Buy
these pleasant plants online from Your Koseli Nepal and get online plant delivery at your
dear ones’ address to convey your best regards to them. Each of our plants for gifts comes
along with our efficient doorstep online plant delivery to notch up your gifting gesture to
the core. Also, along with our exotic plant online collection, one can even have a look at
our artificial plant collection if they feel maintaining a real plant isn’t their forte [4].

Petals Argo Nepal is an extraordinary E-commerce platform that celebrates the beauty of
nature and brings the joy of plants and flowers to homes in Nepal. At Petals Agro Nepal,
users can explore a wide selection of indoor and outdoor plants, vibrant flowers, and
delightful bouquets, all in one place.Our E-commerce Development expertise enabled us
to create a visually appealing website that perfectly showcases the charm of plants while
providing a seamless shopping experience. From browsing through an array of plants to
reviewing products and making secure payments via trusted gateways, Petals Agro Nepal
ensures a user-centric and reliable platform for plant enthusiasts [5].

6
CHAPTER 3
SYSTEM ANALYSIS AND DESIGN
3.1. System Analysis:
The system analysis of the system is done by conducting requirement analysis, feasibility
analysis, data modeling and process modeling as follows:
3.1.1. Requirement Analysis:
The term requirements determination explains the overall things that can be done within
the system in simpler manner. The requirement analysis of hostel management system is
done through finding the functional and non-functional requirements for the system.
 Functional Requirements:
Functional Requirements are the statements of services the system should provide, how the
system should react to particular inputs and how the system should behave in various
situations.

Plant-ecommerce

Figure 1 0-1.1: Use Case Diagram of Plant E-commerce

8
 Non-functional Requirements:
The non-functional requirements include:
 It should be easy to use and navigate for both user and admin.
 It should have a user-friendly interface.
 The system should be secured from unauthorized usage and access.
 The system should be always reliable and available to users.
Overall, the non-functional requirements of the system are designed to ensure that the system
is reliable, accessible, and user-friendly, while also being scalable and cost-effective.
3.1.2. Feasibility Analysis:
Feasibility analysis is used to assess the strengths and weaknesses of a proposed project
and present directions of activities which will improve a project and achieve desired results.
 Technical Feasibility
The system can run in any device which supports internet connectivity and does not require
any new technology to be developed. So, our system is technically feasible.
 Operational Feasibility
The system is easy to operate. Admin, and user can login the system and can use the system
in efficient way. So, our system is operationally feasible.
 Economic Feasibility
The projects economic cost revolves around the hardware and software charge which is
minimal. Hence, the project is economically feasible.
 Schedule Feasibility
Schedule feasibility is the degree to which a deadline for a strategy, plan, project or process
is realistic and achievable. The feasibility of this project is high as the system can be
completed within the time limit.

9
Table 3.1 1: Gantt Chart
Working Time 10th Oct 25th Nov 15th Dec 28th Dec 10th Jan 16th Feb

Planning

Design

Implementation
Testing
Maintenance
Documentation

3.1.3. Data Modelling:


 E-R Diagram

Figure 1 0-2.2: ER Diagram Plant E-commerce.

This ER (Entity Relationship) diagram provides a simplified representation of Plant E-


commerce e-commerce website. It consists of 6 entities: Customer, product, cart and
payment. The Customer entity represents the customers of the store and includes attributes
such as Customer_id, name, email, phone, and address. This diagram shows the working
principles of ecommerce websites.

10
3.1.4. Process Modelling:
 Context Diagram

Figure 1 0-3.3: Context Diagram

This context diagram represents the result viewing system through Plant E-commerce E-
shop, illustrating the high-level process. It serves as a contextual diagram, providing an
overview of the login process and showing. All the essential steps and components are
captured in a single diagram, offering a comprehensive understanding of our system.

11
 Level 1 DFD of Admin

Figure 1 0-4.4: Level 1 Admin

First level DFD of Plant E-commerce website shows how the system is divided into sub
systems. It is an admin level one DFD which also identifies internal data stores of
authentication, uploads, login status, manage items, manage orders and manage reports. It
provides a more detailed breakout of zero level DFD.

12
 Level 1 DFD of Users

Figure 1 0-5.5: Level 1 Users.

This is User level 1 DFD of Plant E-commerce which shows the data stores of User login,
authentication interface, make order, buy item, and make payment. It provides a more detailed
breakout of zero level DFD.

13
3.2. System Design:
3.2.1. System Flow Diagram:

Figure 1 0-6.6: System Flow Diagram

14
CHAPTER 4
IMPLEMENTATION AND TESTING
4.1. Implementation:
The “Plant E-commerce” works as Web application system. It is implemented using
HTML, CSS and JavaScript including jQuery as a front end, PHP is used as backend
programming and MYSQL is used for the database and the text editor used was VS Code.
XAMPP was usedas the offline local server. As planned in the designed phase, waterfall
model was used as the development methodology.
PHP
PHP is used as a programming language for this project. Back end of the system is designed
with PHP.
Html
In our system, Html is used for creating webpages. Version: HTML 5.
CSS
CSS is used for designing the Html pages and to layout the Html documents.
Bootstrap
We have used bootstrap as it is a compiled CSS and JavaScript source code.
VS Code
To write and modify code VS Code is used.
MySQL
MySQL is an open-source relational database management system. It is used to store the
information of admin as well as users.

4.2. Testing:
4.2.1. Unit Testing:
Unit testing is the examination of the tiniest software components, which are the modules
or individual code pieces. The main goal is to ensure that each module is capable of
correctly performing its designated tasks, which included responsibilities like managing
user registrations, overseeing ordering process, and maintaining history. Throughout these
testing procedures, the emphasis is placed on verifying the accuracy of data processing and
the generation of expected results. If any issues are encountered during this process, they
were recognized and addressed to maintain the integrity and performance of the software.

15
Test Cases for Unit Testing
Table 3.1 2: Unit Testing

Test Test Steps Expected Actual Pass /


S.N. Case Description Executed Result Result Fail
ID
1 UT- Opening URL of Homepage of Homepage of Pass
Plant
001 Plant Plant plant
ecommerce
ecommerce entered ecommerce ecommerce
in should be wasdisplayed
search bar
displayed
2 UT- Clicking Click on User User were Pass
on options of navigated
002 should
navigation navigation through
navigate
bar barof pages different
through
pages
different
pages
3 UT- Clicking Click on A form which A form that Pass
on
003 Registration can register a canregister
Registration a user was
option user should opened
option of
opened
navigation
bar
4 UT- Clicking Click on A login form A login form Pass
onlogin login option should open
004 was opened
option whichhelps
of to which helped
communicate
navigation to
With system
bar communicate
with system

16
Testing Admin Panel
Table 3.1 3: Admin Panel

S.N. Test Test Description Steps Executed Expected Actual Result Pass /
Case Result Fail
ID
1 UT- Entering Incorrect email Message Message saying Pass
incorrect e- mail
101 and/or passwords saying Wrong Emailor
or
password should beentered invalid user Password!was
or password displayed
should be
displayed
2 UT- Clicking on Click on options Admin Admin was Pass
of navigation should navigated
102 navigation bar
bar navigate through different
through pages
different
pages
3 UT- Clicking onAdd Click on room A form that A form that can Pass
103 plant option option and clickon can add plant add plant
Add plant should be
submenu opened
4 UT- Clicking on Click on profile Admin admin profile Pass
option, click on profile was shown which
104 Update admin
Manage admin detail can be edited /
option profile and click should be
Update shown Updated
option which
should be
edited /
Updated
5 UT- Clicking on user Click on user, User details User details was Pass
and click edit should be updated
107 edit option updated.
option

17
6 UT- Clicking on Click on user User detail user detail was Pass
deleted
108 Delete user option option, click on should be
Delete deleted
option

7 UT- Clicking on Click on sold Sold Sold product Pass


products Details are
109 Sold option
details
option displayed
should be
shown
8 UT- Clicking on repair Clicking on Product Product details Pass
repair option details along and
110 option with repair repair status are
status displayed.
should be
displayed.
9 UT- Clicking on Clicking on Website Website name pass
name, logo logo and footer are
111 Setting option and Setting option and footer changed
updating. change input
value and submit should be
changed

18
Testing User Panel
Table 3.1 4: User panel

S.N. TestCase Test Steps Executed Expected Actual Result Pass /


ID Description Result Fail

Entering Incorrect Message Message

incorrect email and/or saying invalid saying invalid


email or email or password
1 UT-201 passwords email or Pass
password was displayed
should be password
entered
should be
displayed
2 UT-202 Clicking on Click on Student Student was Pass
navigation bar options of should navigated
navigation bar navigate through
through
different
different pages
pages
3 UT-203 Clicking on Click on my Page should Page was Pass
my profile update option be displayed displayed
where user can where user can
view and view and update
update their their profile
profile.
4 UT-204 Clicking on Click on Page should Page was Pass
change change be displayed displayed
password password where user where user can
can change change password
password

19
5 UT-205 Entering Click on Message Message Pass
change
incorrect old saying old
saying old
password
password password not
password not
option and matched was
matched
enter displayed
should be
incorrect displayed
password
6 UT-206 Entering Click change Message Message Pass
password
different
Saying saying password
confirm
option and
password and and re-type
password
enter
different re-type password do not

confirm password do match was


password
not match displayed

should be

displayed

4.2.2. Integration Testing:


During integration testing, individual testing, individual modules, or units of code are
combined and tested together to identify any issues that arise from their interactions. The
primary objective is to validate that these integrated modules work seamlessly as a whole,
effectively communicating and sharing data. It verifies that user registrations, user
management, and room records seamlessly integrate within the system.

20
Test cases for System Testing
Table 3.1 5: System Testing

SN Test Test Case Test Case Step Executed Expected Result Actual Pass/
CaseID Name Description Result Fail
01 TC 101 Security Checking Login with Successful Successful Pass
your
Testing Security to registered Login Login
access login email and
Directed to Directed
to User
password User Dashboard
Dashboard
02 TC 102 Security Checking Try login An error An error Pass
message message
with “Invalid “Invalid
Testing Security to
unauthorized
access login email or email or
email and password
password” ”
password
must be was
displayed. displayed.
03 TC 103 Usability User book Fill the form Plant should be Plant Pass
plants and book added to cart. should be
Testing
plants added to
cart.
04 TC 104 Usability Admin add Add plant New plant New plant Fail
plant details. should be was not
Testing
added added.

21
CHAPTER 5
RESULT AND CONCLUSION
5.1. Result:

On the process of this system development, I really enhanced my skill and experienced alot
of things. A whole process really gave me an opportunity of many things such as researching,
coordination with many individuals to share ideas and knowledge. It was totally a new
experience to develop an OOP based project which made my time challenging and
entertaining as well. The more I learned about new things, more I got motivated to do
further task. I implemented my ideas, knowledge on this project to make it bigger and better.
I find lots of new ideas even for other type projects in the process of SDLC. Researching
about literature review made me to brain-storm to find errors and missing components on
other systems and to find solutions for that. It taught me to solve the real-life problems of
people, to find ideas and to solve various issues of people.
As a whole this project made me more skillful, learned new things which are useful to
enhance my skill. The journey of SDLC was all about finding problems and solving them,
about researching various things, new environment, sharing of knowledge and skill, a
positive challenge, motivation and an ability of dealing with errors and various problems
with positivity.

22
5.2. Conclusion:
From a proper analysis of positive points and constraints on the component, it can be safely
concluded that the product is a highly efficient GUI based component. This application is
working properly and meeting to all user requirements. This component can be easily
plugged in many other systems. This particular project deals with the problem on managing
Plant E-commerce is a user-friendly system which is very easy and to convenient to use.

5.3. Future Enhancements:


Due to a shortage of time, the logical portion is not as appealing as it could be. The logical
function of the website can be improved further. A more logical function could be added
to make our website more secure and effective. This project website has been developed in
such a manner that the future requirements of the user are met. The project is flexible to
adapt the changes efficiently without affecting the present system. In future, there can be a
provision to adjust the questions as per the requirement.

23
References

[1] J. B. a. M. R. c. Anna Fay, "Research Gate," may 2017. [Online]. Available:

www.researchgate.com. [Accessed 2017].

[2] P. Decor, "Buy Plant and Decor," 2022. [Online]. Available: plantanddecor.com.

[3] M. Nepal, "Mali Nepal," 2022. [Online]. Available: [email protected]. [Accessed

2022].

[4] Y. Koseli, "Your Koseli," 2022. [Online]. Available: www.yourkoseli.com.

[Accessed 2022].

[5] K. Thapa, "Petals Agro," Kokil THapa, 2024. [Online]. Available:

https://kokil.com.np/portfolio/petals-agro-nepal. [Accessed 2024].

24
APPENDICES
Appendices A: Screenshots

Home Page:

Admin Login Page:

25
User Login Page:

User Dashboard Page:

26
27
Payment and add to cart

Shipping detail

28
Admin dashboard:

Add Product

All product and customer:

29
Appendices B: Source code
Index.php

<?php
session_start();
?>
<?php require './includes/head.php' ?>
<?php require './includes/conn.php';
require './includes/is_added_to_cart.php'

?>

<section class="banner_part">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12">
<div class="banner_slider owl-carousel">
<div class="single_banner_slider">
<div class="row">
<div class="col-lg-8 col-md-12 col-12 col-sm-12">
<div class="banner_text">
<div class="banner_text_iner">
<h1>Buy green to save green</h1>
<p>
Buy the best indoor plants.
We have a plant for each door.
</p>
<a href="category.php" class="btn_2">Buy now</a>
</div>
</div>
</div>
<div class="banner_img col-lg-4 col-md-12 col-sm-12 col-12">
<img src="img/banner.png" alt="" />
</div>
</div>
</div>
<div class="single_banner_slider">

30
<div class="row">
<div class="col-lg-8 col-md-12 col-sm-12 col-12">
<div class="banner_text">
<div class="banner_text_iner">
<h1>Indoor Plants</h1>
<p>
Choose among wide variety of indoor plants.
</p>
<a href="category.php" class="btn_2">Buy now</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-12 col-sm-12 col-12 banner_img">
<img src="img/banner.png" alt="" />
</div>
</div>
</div>
<div class="single_banner_slider">
<div class="row">
<div class="col-lg-8 col-md-12 col-12 col-sm-12">
<div class="banner_text">
<div class="banner_text_iner">
<h1>Budget Friendly</h1>
<p>
Eco-Friendly, Pocket-Friendly.
</p>
<a href="category.php" class="btn_2">Buy now</a>
</div>
</div>
</div>
<div class="banner_img col-lg-4 col-md-12 col-12 col-sm-12">
<img src="img/banner.png" alt="" />
</div>
</div>
</div>
</div>
<div class="slider-counter"></div>
</div>
</div>
</div>
</section>

<section class="product_list section_padding">


<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12">
<div class="section_tittle text-center">
<h2>Awesome <span>Shop</span></h2>

31
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="product_list_slider owl-carousel">
<div class="single_product_list_slider">
<div class="row align-items-center justify-content-between">
<?php

$query = "SELECT * from `products`";


$result = mysqli_query($con, $query);

while ($row = mysqli_fetch_array($result)) {


echo '<div class="col-lg-3 col-sm-6" style="padding: 10px 20px
!important;">
<div class="single_product_item">
<img width="120px" src="img/product/' . $row['image'] . '"
alt="djwij" />
<div class="single_product_text">
<h4>' . $row['title'] . '</h4>
<h3>Rs. ' . $row['price'] . '</h3>';
if (!check_if_added_to_cart($row['id'])) {
echo '<a href="scripts/cart_add.php?id=' . $row['id'] . '&qty=1"
class="add_cart">+ add to cart<i class="ti-heart"></i></a>';
} else {
echo '<a href="#" class="add_cart" disabled>+ add to cart<i
class="ti-heart"></i></a>';
}

echo ' </div>


</div>
</div>';
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<?php require "./includes/footer.php" ?>

<script src="js/jquery-1.12.1.min.js"></script>

<script src="js/popper.min.js"></script>

32
<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.magnific-popup.js"></script>

<script src="js/swiper.min.js"></script>

<script src="js/masonry.pkgd.js"></script>

<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.nice-select.min.js"></script>

<script src="js/slick.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/contact.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/mail-script.js"></script>

<script src="js/custom.js"></script>

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-


13"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'UA-23581568-13');
</script>
<script defer
src="https://static.cloudflareinsights.com/beacon.min.js/vaafb692b2aea4879b33c060e79f
e94621666317369993" integrity="sha512-
0ahDYl866UMhKuYcW078ScMalXqtFJggm7TmlUtp0UlD4eQk0Ixfnm5ykXKvGJNFj
LMoortdseTfsRT8oCfgGA==" data-cf-
beacon='{"rayId":"7721abfb4f723390","token":"cd0b4b3a733644fc843ef0b185f98241","
version":"2022.11.3","si":100}' crossorigin="anonymous"></script>
</body>

</html>

Admin Index.php:
<?php
require 'includes/conn.php';

33
session_start();

if(!isset($_SESSION['admin_email'])){
echo "<script> location.href='/ecommerce/admin/login.php'; </script>";
exit();
}

$mail = '';
if (isset($_SESSION['admin_email'])){
$mail = $_SESSION["admin_email"];
}
$name= '';

$query = 'SELECT * FROM admin';


$result = mysqli_query($conn, $query);
while($row = mysqli_fetch_array($result)){
if($row['email'] == $mail){
$name = $row['name'];
}
}

?>
<?php require_once "includes/header.php" ?>

<div class="mainContainer">
<?php require "includes/sidebar.php" ?>

<div class="allContainer">
<div class="container jumbotron jumbotron-fluid col-md-8 bg-light my-4 p-4 text-
center">
<div class="container">
<h1 class="display-4">Welcome to Admin Panel</h1>
<h4>Hi, <?php echo $name ?> </h4>
</div>
</div>

<div class="container">
<table class="table container">
<thead class="py-4">
<tr>
<th scope="col">Admin Id</th>
<th scope="col">Name</th>
<th scope="col">Contact Number</th>
<th scope="col">Email</th>
<th scope="col">Action</th>
</tr>

34
</thead>
<tbody>
<?php require "includes/conn.php" ?>
<?php
$query = 'SELECT * FROM `admin`';

$result = mysqli_query($conn, $query);

while ($row = mysqli_fetch_array($result)) {


echo "<tr><th>" . $row['id'] . "</th>";
echo "<th>" . $row['name'] . "</th>";
echo "<td>" . $row['mobile'] . "</td>";
echo "<td>" . $row['email'] . "</td>";
echo "<td>
<a href='scripts/delete_script.php?id={$row['id']}'><button
type='button' class='btn btn-danger'>Delete</button></a>
</td></tr>";
}

?>
</tbody>
</table>
</div>
</div>
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-
kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
</body>

</html>

Payment.php

<html>

<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-
T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2H
N" crossorigin="anonymous">
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-
C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL
" crossorigin="anonymous"></script>

35
<script src="https://khalti.s3.ap-south-
1.amazonaws.com/KPG/dist/2020.12.17.0.0.0/khalti-checkout.iffe.js"></script>
</head>

<body>
<section class="payment_wrapper">
<div class="container my-4">
<div class="row my-4 py-4 mx-auto">
<div class="col-lg-12 mx-auto"><button id="payment-button" class="fs-2 text-
light border-0
px-2 rounded-pill bg-danger">Pay with Khalti</button>
</div>

</div>

</div>

</section>
<!-- Place this where you need payment button -->

<!-- Place this where you need payment button -->


<!-- Paste this code anywhere in you body tag -->
<script>
var config = {
// replace the publicKey with yours
"publicKey": "test_public_key_dc74e0fd57cb46cd93832aee0a390234",
"productIdentity": "1234567890",
"productName": "Dragon",
"productUrl": "http://gameofthrones.wikia.com/wiki/Dragons",
"paymentPreference": [
"KHALTI",
"EBANKING",
"MOBILE_BANKING",
"CONNECT_IPS",
"SCT",
],
"eventHandler": {
onSuccess(payload) {
// hit merchant api for initiating verfication
console.log(payload);
},
onError(error) {
console.log(error);
},
onClose() {
console.log('widget is closing');
}
}

36
};

var checkout = new KhaltiCheckout(config);


var btn = document.getElementById("payment-button");
btn.onclick = function() {
// minimum transaction amount must be 10, i.e 1000 in paisa.
checkout.show({
amount: 300000
});
}
</script>

37

You might also like