Professional Documents
Culture Documents
Rien Cakes and Pastries Chapt 1-4 Maam Galos Proff CHECK FINAL
Rien Cakes and Pastries Chapt 1-4 Maam Galos Proff CHECK FINAL
Rien Cakes and Pastries Chapt 1-4 Maam Galos Proff CHECK FINAL
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
SEPTEMBER 2023
APPROVAL SHEET
1
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
______________________
CHAIRMAN, CAPSTONE
COMMITTE
______________________ _______________________
MEMBER MEMBER
Accepted as partial
fulfillment of the course requirements of the degree
in Bachelor of Science in Information Technology
ACKNOWLEDGEMENTS
2
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
First and foremost, we thank the Lord Jesus Christ, For Giving First and
foremost, we thank the Lord Jesus Christ, for giving us the strength, knowledge,
patience, and wisdom to explore things, and for giving us the determination to
pursue and make this study possible and successful.
Words cannot express our gratitude to our advisers for their invaluable
patience and feedback. We would also want to thank the defense panelists, who
generously shared their knowledge and expertise.
We would like to thank you the owner and employees of Rein Cakes and
Pastries Shop for your support and kindness in our assistance in this project.
Additionally, this would not be impossible without our family's support and our
professor who guided us to this capstone project once again Thank you.
3
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
ABSTRACT
The system aims to manage Rein Cakes and Pastries shop customers’ orders by
making an online web-based system to monitor their customers ordered cakes
and also the availability of the cakes and making a database for their customers to
access the website when ordering cakes.
The system provides the information regarding as follows:
Costumer’s information: The customer can create their account on the website by
clicking Create Account then the customer would provide a name, email, and
address in a secured database by doing so they can access the website cake
shop tab and order what cake would they like and also monitor their ordered
deliveries of cakes and breads.
Employee and Cake availability: The employee would see the customer the
ordered cake by accessing their order tab so they can process the customer's
ordered cake by sending a notification on the customer’s account and messages.
that the cake was in process employees can monitor the cake availability by
accessing the inventory tab on the website.
Admin Tab: The owner can monitor the website by accessing the admin tab so
they can see the registered customer and the sales of the cake as well as the
order.
The fronted will be a Hyper Text Mark-up Language (HTML). A standardized
system for tagging text files to achieve font, color, graphics, and hyperlink effects
on World Wide Web pages, this system will have a supported Cascading Style
Sheets (CSS), a computer language for lay-outing and structuring webpages
(HTML), and JavaScript an object-oriented computer programming language
commonly used to create interactive
effects with a web browser. As for the back end, we will be using PHP Hyper Text
Preprocessor (PHP) a widely used open-source general-purpose scripting
language which many is usable by many operating systems like Microsoft
Windows and Mac OS and it is used as a secured database.
4
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
TABLE OF CONTENTS
CHAPTER I 5
Project Context 5
Purpose and Description 6
Objectives of the Study 7
Significance of the Study 8
Scope and Limitation 8
CHAPTER II 9
Related Literature 9
Foreign Literature 9
Local Literature 13
Local Studies
Synthesis 14
Technical Background 15
CHAPTER III 16
System Design, Products, and/or Processes 19
Conceptual Design 20
Cost Benefit Analysis 20
System Architecture/System Flow 21
Block Diagrams 25
Development and Testing 31
Input and Output Reports and Analysis 32
Description of the Prototype 33
CHAPTER IV 71
Recommendation 71
5
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Appendices 74
References 75
CHAPTER I
Project and Its Background
Project Context
Rein Cakes and Pastry Shop started its business in 2001 in
Tropical Village, Brgy. San Francisco, City of General Trias, Cavite. They
started selling cakes and small types of bread. But because of the
competition with other pastry shops, they have lost some of their loyal
customers. Then they are trying their luck by doing online selling so they
wanted an official online website where their customer can access their
shop and see what cakes are available to order with a scheduling system
where the customer can provide when or what day they will pick up the
cake. The purpose of this study was for the proponents to explore the online
bakery management system and how to create a web-based online bakery
shop for Rein Cakes and Pastries Shop with a user-friendly website for both
the employees and the customers.
The system aims to manage Rein Cakes and Pastries shop customers’
orders by making an online web-based system to monitor their customers
ordered cakes and also the availability of the cakes and making a database
for their customers to access the website when ordering cakes.
7
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Purpose
This study aims to assist Rein Cakes and Pastries Shop in creating
a user-friendly website, reducing employee workload by monitoring the
availability of cakes, tracking orders and their deadlines, and allowing
customers to register for an account to receive notifications via SMS
regarding the pickup of their ordered cakes.
Description
General objective
The main goal was to create a website for Rein Cakes and
Pastries Shop to showcase their variety of cakes and breads, provide
8
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Specific Objectives
Administrator. This research aims to help Rein Cakes and Pastries Shop
to be more efficient in doing online selling help owners monitor their daily
9
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
sales and provide customers with pick-up notifications. The website will be a
useful advertisement for Rein Cakes and Pastries Shop for them to expand
their online sales,
Employees. This research aims to help the employees of Rein Cakes and
Pastries Shop easily monitor the stocks of cakes and breads and improve
their productivity and workflow.
Customers. This research helps the customers of Rein Cakes and Pastries
Shop to easily shop for cakes and breads and also to efficiently check out
their orders. To check the availability of the cake and to have an easy way
to pay for their ordered cakes and bread through multiple payments.
Future researcher. This research can be used as a reference guide for
future researchers and developers that are in the same field such as
Information Technology, Computer Science, and other similar fields. Future
researchers can learn, improve, and compare the procedures and methods
that were used in this research. and will help them in their research
development of a similar system.
Business owners. This research can be a reference to extend their
expertise to e-commerce industries it will help to boost their knowledge of
managing online business, sales, and income.
10
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Employees can also use the website to have access to the inventory system
to monitor the stock of the products to always update the availability of
cakes and breads and to have access to customer contact notification order.
costumer can easily access the website by just inputting their email and
address with Costumer secured Database also a notification system.
CHAPTER II
Related Literature
Related Literature
Foreign Literature
The article by Chen and Yang (2019) titled “Developing a web-
based sales management system for small and medium-sized enterprises.”
presents the development of a web-based sales management system for
small and medium-sized enterprises (SMEs). The system aims to enhance
the sales process of SMEs through its features, including customer
management, sales order processing, and sales analysis. The study also
evaluates the effectiveness of the system through a case study, which
showed that it can help reduce sales cycle time and improve sales
performance. The article concludes that web-based sales management
11
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
systems can be an efficient tool for SMEs to enhance their sales process
and competitiveness.
The article by Sun, Chen, and Zhang (2019) titled “Design and
Implementation of a web-based restaurant inventory management system.”
discusses the design and implementation of a web-based restaurant
inventory management system. The system was designed to help
restaurant managers manage their inventory more efficiently and effectively
by providing features such as inventory monitoring, ordering, and reporting.
The authors conducted a case study to evaluate the effectiveness of the
system, and the results showed that it helped restaurant managers reduce
inventory costs, improve inventory accuracy, and increase efficiency in the
inventory management process. The article concludes that a web-based
inventory management system can be a valuable tool for restaurant
managers to enhance their inventory management and increase their
competitiveness.
According to the Statista Fintech report, in 2019, the total amount of
transactions in the digital payment segment was estimated at 3,670,864
million euros, and by 2023, it is estimated to increase to 5,921,831 million
euros
A pioneering study conducted by Tagat et al. (2019) in India,
determined similar elements impacting users’ payment choices using
payment diary data in the Mumbai Metropolitan Region (MMR). The authors
pragmatically deployed the diary data method of data collection which is
prevalent in the United States, Canada, Australia, and European countries.
The experiential results indicated the dominance of cash payment for goods
and services and were significantly influenced by transaction size,
merchants’ acceptance of cashless payment methods, and perceived
usefulness of cash. Cash was found as a commonly used method followed
by debit cards, cheques, and credit cards. It also concluded that the fewer
chances of using cash with high transaction size were consistent with cross-
country diary data surveys.
Świecka et al. (2021) explored consumer behavior towards
diverse payment methods in Poland. The CAPI method was used to collect
the data of 1005 customers. It was analyzed with a machine learning model
12
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
13
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
14
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
15
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Local Literature
16
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Local Studies
17
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
18
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Technical Background
Downpayment System
The downpayment system will use two payment systems which is the
Paymongo Application programming interface (API) with multiple way of
payment also the cash on pick-up payment. which the customer can pay
through the branch when ordering cake products this will also utilize the
SMS gateway system that will notify their total pay balance and schedule
ordered cake pick up.
CHAPTER III
METHODOLOGY RESULTS AND DISCUSSION
Introduction
This chapter will discuss the implementation of system
notification, downpayment balance notification, shop products tab
compilation also management system for customers, employees, and
owners for the website of Rien Cakes and Pastry Shop. The chapter will
also provide detailed research design, data collection procedures data
analysis methods used for the study.
Software Design, Products and/or Process
20
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
cash on the pickup payment system while the notification system will use
the contact info of the customer
The system will have the following key features:
1. User Management System – This feature allows Admin to manage user
registered accounts such as customers' profile data.
2. Inventory Management System – This feature allows the employee to
manage the cake product details, stocks, and ordered cakes by customers.
3. Sales Management System – This feature allows the admin to monitor
the ordered cake product sales and also to manage customer details
payment details.
4. The Delivery Payment System – this system will be utilized to prevent the
cancellation of orders which is a problem for Riencakes and Pastries.
The development of the website system and software will follow the
waterfall methodology which proponents can ensure the feedback of each
fall step by step so the website will achieve its goals based on the needs of
the beneficiary.
REQUIREM
ENT
ANALYSIS
DESIGN
21
CODING
IMPLEMENTATIO
N
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
22
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
System Architecture
23
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Conceptual Design
PROCESS
INPUT CUSTOMER ORDER OUTPUT
APPROVED ORDER REAL TIME SERVICE
ADMIN
USER ACCOUNT SALES REPORT DAILY MONTLY YEARLY
PRODUCTS
ORDERED PRODUCT PENDING DOWNPAYMENT API SERVICES
CUSTOMER
ORDERED PRODUCT TRACKING ORDERED PRODUCT COMPLETE
EMPLOYEE
PRODUCTS DETAILS CUSTOMER NOTIFICATION
SERVICES
ADD ADMIN,EMPLOYEE AND
CUSTOMER
24
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
This section estimates the labor cost, hardware cost, and system
software cost of the website project. it should detail the overall cost,
benefits, and tools delivered by the system it should demonstrate the values
of each institution given by the website project and the labor of the
proponents.
System Architecture
I. Hardware Cost
Recommended Specifications Quantity Unit Cost
Requirements Price
Processor Intel Core i3- 1 12,995 12,995
8100
processor
(3.60 GHz)
Motherboard Gigabyte 1 1.750 1,750
H310M H2.0
Ram 8gb-ddr4 1 2,995 2,995
2400mhz
zeppelin
Hard Drive Adata 512GB 1 3,495 3,495
SSD
Keyboard Razer Cynosa 1 3,000 3,000
v2
Monitor ASUS 21.5 1 8,700 8,700
VA229HR 75
HZ MONITOR
Mouse ASUS ROG 1 1,950 1,950
STRIX
IMPACT II
RGB MOUSE
Total 34.885
25
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Source: https://ph.indeed.com/
A. System cost
26
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Total: 279
Source: https://www.nationalbookstore.com/
C, Utility Expense
Particulars Cost
Electricity 840.74
Internet 2.625
Total:3.465.74
Computer Usage 0.43 hour/5.52 for 12 hour /27.6 Day /840.74 28 days
Source: https://www.meralco.com.ph/
D. Training cost
27
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Cost Amount
Hardware Cost 34.885
Software Development cost 58.000.00
System cost 11.280
Stationaries and supplies 279.00
Utility expenses 3.465.74
Training cost 1.800
Total 109,709.74
Table 7 Summary Cost
Estimated Benefits:
Payback Period
Return of investment
Total = 85%
Requirement Analysis
Block Diagram
29
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Create Account
Log in
Manage accounts
Dashboard
Shop
Notification of payment
Log out
30
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Log in
Dashboard
Products Sales
Manage pending
order
Manage Products
Manage
inventorys stocks
Manage Payments
Manage employee
accounts
Log out
31
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Log in
Dashboard
Manage orders
Manage pending
order
Manage Products
Manage inventorys
stocks
Manage Pick up
Payments
Manage Notification
payment
Log out
32
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
The proponent language used for the development was Hyper pre-
processor(PHP) as their main programming language while MySQL was
used for the backend of the system.
Unit Testing – The proponents will utilize unit testing as a vital method to
ensure the proper functioning of the individual system units or components
and their compliance with the specified requirements.
Reference Number:1.0
33
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Module Name-Home
Retrieving
Click Dipslay
INPUT PROCESS Web OUTPUT
Home Home
Details
Reference Number:2.0
Module Name-Store
Retrieving
Click Display
INPUT PROCESS Web OUTPUT
Store store
Details
34
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:3.0
Module Name: Contacts
Retrieving
Click Dipslay
INPUT PROCESS Web OUTPUT
Contact Contact
Details
Reference Number:4.0
Module Name: About Us
35
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Retrieving
Click Dipslay
INPUT PROCESS Web OUTPUT
About us About us
Details
Reference Number:5.0
Module Name: Orders
Retrieving
Click Dipslay
INPUT PROCESS Web OUTPUT
Orders Orders
Details
36
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:6.0
Module Name: Search
Retrieving
Click Dipslay
INPUT PROCESS Web OUTPUT
Search Search
Details
Reference Number:7.0
Module Name: Cart
37
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Retrieving
Dipslay
INPUT Click Cart PROCESS Web OUTPUT
Cart
Details
Reference Number:8.0
Module Name: Account
Click Retrieving
Dipslay
INPUT Account PROCESS Web OUTPUT
Account
Details
38
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:8.0
Module Name: See Store
Reference Number:9.0
Module Name: Cakes and Bread Store
39
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:1.1
Module Name: See New Cakes
40
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:1.2
Module Name: View Cakes and Breads
41
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:1.3
Module Name: See Payments
Reference Number:2.1
Module Name: Name
42
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Display
INPUT Name PROCESS Web OUTPUT
Name
Details
Reference Number:2.2
Module Name: See Cake and Bread Quantity
43
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:3.1
Module Name: Name
Click Retrieving
Dipslay
INPUT Name PROCESS Web OUTPUT
Name
Details
44
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:3.2
Module Name: Number
Click Retrieving
Dipslay
INPUT Number PROCESS Web OUTPUT
Number
Details
Reference Number:3.3
Module Name: Email
45
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Email PROCESS Web OUTPUT
Email
Details
Reference Number:3.4
Module Name: Change Cakes Flavoring
46
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Dipslay
Change Retrieving
Change
INPUT
Cakes
PROCESS Web OUTPUT
Cakes
Flavoring Details
Flavoring
Reference Number:3.5
Module Name: Message
Click Retrieving
Dipslay
INPUT Message PROCESS Web OUTPUT
Message
Details
47
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:3.6
Module Name: Submit
Click Retrieving
Dipslay
INPUT Submit PROCESS Web OUTPUT
Submit
Details
Reference Number:4.1
Module Name: Name
48
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Name PROCESS Web OUTPUT
Name
Details
Reference Number:4.2
Module Name: Number
49
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Number PROCESS Web OUTPUT
Number
Details
Reference Number:4.3
Module Name: Email
Click Retrieving
Dipslay
INPUT Email PROCESS Web OUTPUT
Email
Details
50
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:4.4
Module Name: View Cakes and Breads Cart
Reference Number:4.5
Module Name: Quantity Update
51
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:4.6
Module Name: Proceed to Checkout
52
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Dipslay
Proceed Retrieving
Proceed
INPUT to PROCESS Web OUTPUT
to
Checkout Details
Checkout
Reference Number:4.7
Module Name: Remove Quantity
53
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:4.7
Module Name: Continue Shopping
Reference Number:5.1
Module Name: User
54
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT
User
PROCESS Web OUTPUT
User
Details
Reference Number:6.1
Module Name: Admin
55
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Admin PROCESS Web OUTPUT
Admin
Details
Reference Number:5.3.1
Module Name: Email
Click Retrieving
Dipslay
INPUT Email PROCESS Web OUTPUT
Email
Details
56
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.2
Module Name: Password
Click Retrieving
Dipslay
INPUT Password PROCESS Web OUTPUT
Password
Details
Reference Number:5.3.3
Module Name: Login Now
57
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.4
Module Name: Register Now
58
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.1
Module Name: Home User Page
59
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.2
Module Name: Store Pending Page
Click Dipslay
Store Retrieving
Store
INPUT Pending PROCESS Web OUTPUT
Pending
Page Details
Page
Reference Number:5.3.5.3
Module Name: Contact User Page
60
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.4
Module Name: User Store Order Page
61
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.5
Module Name: Search User Page
62
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.6
Module Name: Store Cart User Page
Reference Number:5.3.5.7
Module Name: Account User Page
63
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.8
Module Name: Profile
64
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Profile PROCESS Web OUTPUT
Profile
Details
Reference Number:5.3.5.9
Module Name: Logout
Click Retrieving
Dipslay
INPUT Logout PROCESS Web OUTPUT
Logout
Details
65
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.1.1
Module Name: Update info
Reference Number:5.3.5.1.2
Module Name: Name
66
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Name PROCESS Web OUTPUT
Name
Details
Reference Number:5.3.5.1.3
Module Name: Update Address
67
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.1.4
Module Name: Name
Click Retrieving
Dipslay
INPUT Name PROCESS Web OUTPUT
Name
Details
68
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.1.5
Module Name: Email
Click Retrieving
Dipslay
INPUT Email PROCESS Web OUTPUT
Email
Details
Reference Number:5.3.5.1.6
Module Name: Number
69
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Number PROCESS Web OUTPUT
Number
Details
Reference Number:5.3.5.1.7
Module Name: Password
70
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Password PROCESS Web OUTPUT
Password
Details
Reference Number:5.3.5.1.8
Module Name: Confirm Password
71
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:5.3.5.1.9
Module Name: Register Now
Reference Number:6.2.1
Module Name: Username
72
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Username PROCESS Web OUTPUT
Username
Details
73
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Password PROCESS Web OUTPUT
Password
Details
Reference Number:6.2.3
Module Name: Login Now
74
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Number:6.2.4
Module Name: Home
Click Retrieving
Dipslay
INPUT Home PROCESS Web OUTPUT
Home
Details
75
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Products PROCESS Web OUTPUT
Products
Details
Reference Number:6.2.5
Module Name: Inventory
76
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Inventory PROCESS Web OUTPUT
Inventory
Details
Click Retrieving
Dipslay
INPUT Orders PROCESS Web OUTPUT
Orders
Details
77
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Admins PROCESS Web OUTPUT
Admins
Details
78
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Users PROCESS Web OUTPUT
Users
Details
79
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Messages PROCESS Web OUTPUT
Messages
Details
Click Dipslay
Change Retrieving
Change
INPUT Cake PROCESS Web OUTPUT
Cake
Flavor Details
Flavor
80
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Account PROCESS Web OUTPUT
Account
Details
81
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
82
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Pending PROCESS Web OUTPUT
Pending
Details
83
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Dipslay
Delivery Retrieving
Delivery
INPUT Order PROCESS Web OUTPUT
Order
Status Details
Status
84
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
85
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Orders PROCESS Web OUTPUT
Orders
Details
Click Retrieving
Dipslay
INPUT Products PROCESS Web OUTPUT
Products
Details
86
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Inventories PROCESS Web OUTPUT
Inventories
Details
87
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Users PROCESS Web OUTPUT
Users
Details
88
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Admins PROCESS Web OUTPUT
Admins
Details
89
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Retrieving
Dipslay
INPUT Messages PROCESS Web OUTPUT
Messages
Details
90
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
91
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Click Dipslay
Select Retrieving Select
INPUT Cakes and PROCESS Web OUTPUT Cakes and
Breads Details Breads
Category Category
92
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
93
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
CHAPTER IV
RECOMMENDATIONS
Summary
Conclusion
The researchers can attain the following conclusion based on the
results of the study and the criteria given in the survey.
1. How will you handle customer data and ensure the security and privacy
of their information?
The proposed system aims to ensure the security and privacy of
customer data by implementing secure storage and restricting access to
authorized personnel only. To further enhance data security, we will be
vigilant in identifying and addressing potential security risks and strictly
adhere to privacy regulations. Our top priority is to instill customer
94
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
4. How will the respondents assess the proposed system in terms of the
following criteria
1 1.00-1.80 Strongly Disagree Not Acceptable
2 1.81-2.60 Disagree Uncertain
3 2.61-3.40 Neutral Fair
4 3.41-4.20 Agree Acceptable
5 4.21-5.00 Strongly Agree Highly Acceptable
95
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
APPENDICES
Survey Questionnaire
For system evaluation, please visit the website, and click the link:
https://reincakesandpastries.shop/
Your response will play a great part in the study as it will help us to measure the
quality of the system and make improvements to deliver a good quality system.
Rest assured that your response will be calculated anonymously. Use the scale
below to rate your assessment.
96
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
A. Functionality
Strongly Strongly
Agree Neutral Disagree
Variables Agree Disagree
(A) (N) (D)
(SA) (SD)
1. The system
provides relevant
functions and
information that can
attract customers to
buy online.
2. The system allows
customers to view
products and place
orders instantly.
3. The system has all
the functions to cover
the specified tasks
and objectives.
B. Performance
Strongly Strongly
Agree Neutral Disagree
Variables Agree Disagree
(A) (N) (D)
(SA) (SD)
1. The system quickly
responds to certain
functions in a short
period.
2. It appropriately
performs its function
when used under
specified conditions.
3. The performance of
the overall function of
the system is
excellent.
C. Maintainability
Variables Strongly Agree Neutral Disagree Strongly
Agree (A) (N) (D) Disagree
97
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
(SA) (SD)
1. The system can
quickly adapt to
changes in the
environment in which
it operates for
example update of
technology.
2. The issue and
enhancement of the
system can be easily
modified.
D. Usability
Strongly Strongly
Agree Neutral Disagree
Variables Agree Disagree
(A) (N) (D)
(SA) (SD)
1. The user interface
of the system is
pleasant.
2. The structure of
the system has
attributes that can
make it easy to
understand and
operate.
3. The system is
instantly accessible
across mobile
devices and
browsers.
98
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Recommendations
Based on the findings of the study, the following were recommended for
future enhancement of the developed Rein Cakes and Pastries Shop
Website
1. Improved user interface design to improve aesthetics and make it more
appealing to the eye.
2. Add more functions and features that have the potential to benefit a wider
audience and ultimately, maximize the effectiveness of the platform.
3. Add credit card payment options, it may be beneficial to include
alternative payment methods such as PayPal, Paymongo, and many more.
4. The researchers advise implementing a mobile version or application for
this approach in future studies.
References:
https://www.learntechlib.org/p/207141/
2. The article by Sun, Chen, and Zhang (2019) titled “Design and
Implementation of a web-based restaurant inventory management system.
https://www.researchgate.net/publication/
371989579_Design_and_Implementation_of_Inventory_Management_Syst
em_for_University
99
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
https://www.statista.com/topics/2404/fintech/
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3958530
https://www.frontiersin.org/articles/10.3389/fpsyg.2020.583768/full
6.Cuicui Wang Yun, Li Xuan Luo , Huijian Fu , Ziqi Ye1 and Guangwei
Deng (2022)
https://www.frontiersin.org/articles/10.3389/fnins.2022.844027/full
https://www.researchgate.net/publication/
343512322_Web_Based_Online_Inventory_Information_System
https://files.eric.ed.gov/fulltext/EJ1161529/.
100
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
https://www.researchpublish.com/upload/book/Online%20Selling%20of
%20Baked-19022022-1.pdf
COLLEGE CAVITE
Ara Vista Village, Brgy. Biclatan Gen. Trias, Cavite
Given this 29th day of September 2023 at the College Department, AMA College Cavite.
Proponents:
1. ARMADO DARWIN V.
2. AGUIRRE JAN LUIS A.
3. DE VILLA JOHN VINCENT B.
________________________
Name of Proofreader
Contact Numbers:09564790277
CAREER OBJECTIVE
PERSONAL INFORMATION
Sex: Male
Citizenship: Filipino
102
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
EDUCATIONAL ATTAINMENT
Bachelor’s Degree
Address: AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General Trias,
Cavite
Thesis Title: Web Based Online Bakery Shop Management System Project for Rein Cakes and
Pastries Shop
Technical Strand
Secondary School:
Address AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan,
General Trias, Cavite
Awarding Body:NONE
CO-CURRICULAR ACTIVITIES
103
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Event, Year:NONE
Sponsor Organization:NONE
Description:NONE
WORK EXPERIENCE
REFERENCES
Name
Position, Company:None
Email address:Gipsyarmado@Gmail.com
Contact number:09564790277
104
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
105
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
CAREER OBJECTIVE
To be hired in a position that will apply my knowledge and skill to a productive line of work.
PERSONAL INFORMATION
EDUCATIONAL ATTAINMENT
Bachelor’s Degree
AMA Computer College Cavite
Address: AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General Trias,
Cavite
Thesis Title: Web Based Online Bakery Shop Management System Project for Rein Cakes and
Pastries Shop
Technical Strand
Secondary School:
AMA Computer College Cavite, 2020
Address AMA University Town Crisanto M. Delos Reyes Avenue, Brgy.
Biclatan, General Trias, Cavite
107
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
CO-CURRICULAR ACTIVITIES
Event, Year:NONE
Sponsor Organization:NONE
Description:NONE
WORK EXPERIENCE
REFERENCES
Name
Position, Company: None
Email address: johnvincentdevilla@yahoo.com
Contact number:09564790277
108
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Reference Code
<?php
109
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
include '../components/connect.php';
session_start();
if(isset($_POST['submit'])){
$name = $_POST['name'];
$pass = sha1($_POST['pass']);
$select_admin->execute([$name, $pass]);
$fetch_admin_id = $select_admin->fetch(PDO::FETCH_ASSOC);
$_SESSION['admin_id'] = $fetch_admin_id['id'];
header('location:index.php');
}else{
?>
110
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<?php
include '../components/connect.php';
session_start();
$admin_id = $_SESSION['admin_id'];
if(!isset($admin_id)){
header('location:admin_login.php');
if(isset($_GET['delete'])){
$delete_id = $_GET['delete'];
$delete_admin->execute([$delete_id]);
header('location:admin_accounts.php');
?>
111
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<section class="accounts">
<div class="box-container">
<div class="box">
</div>
<?php
$select_account->execute();
while($fetch_accounts = $select_account->fetch(PDO::FETCH_ASSOC)){
?>
<div class="box">
<div class="flex-btn">
<?php
if($fetch_accounts['id'] == $admin_id){
112
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
?>
</div>
</div>
<?php
}else{
?>
</div>
</section>
<section class="messages">
<h1 class="heading">messages</h1>
<div class="box-container">
<?php
113
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$select_messages->execute();
while($fetch_messages = $select_messages->fetch(PDO::FETCH_ASSOC)){
?>
<div class="box">
</div>
<?php
}else{
?>
</div>
</section>
if(isset($_GET['delete'])){
$delete_id = $_GET['delete'];
114
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$delete_message->execute([$delete_id]);
header('location:messages.php');
<section class="placed-orders">
<div class="box-container">
<?php
$select_orders->execute();
while($fetch_orders = $select_orders->fetch(PDO::FETCH_ASSOC)){
?>
<div class="box">
115
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<option value="pending">pending</option>
<option value="completed">completed</option>
</form>
</select>
<div class="flex-btn">
116
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
</div>
</form>
</div>
<?php
}else{
?>
if(isset($_POST['update_payment'])){
$order_id = $_POST['order_id'];
$payment_status = $_POST['payment_status'];
$update_status->execute([$payment_status, $order_id]);
117
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
if(isset($_POST['update_delivery'])){
$order_id = $_POST['order_id'];
$delivery_status = $_POST['delivery_status'];
$update_status->execute([$delivery_status, $order_id]);
if(isset($_GET['delete'])){
$delete_id = $_GET['delete'];
$delete_order->execute([$delete_id]);
header('location:placed_orders.php');
<section class="update-product">
118
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<?php
$update_id = $_GET['update'];
$show_products->execute([$update_id]);
while($fetch_products = $show_products->fetch(PDO::FETCH_ASSOC)){
?>
<span>update name</span>
<span>update price</span>
<span>update category</span>
<option value="Breads">Breads</option>
<option value="Cakes">Cakes</option>
</select>
119
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<span>update image</span>
<div class="flex-btn">
</div>
</form>
<?php
}else{
?>
</section>
if(isset($_POST['update'])){
$pid = $_POST['pid'];
$name = $_POST['name'];
$price = $_POST['price'];
120
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$category = $_POST['category'];
$old_image = $_POST['old_image'];
$image = $_FILES['image']['name'];
$image_size = $_FILES['image']['size'];
$image_tmp_name = $_FILES['image']['tmp_name'];
$image_folder = 'uploaded_img/'.$image;
if(!empty($image)){
}else{
$update_image->execute([$image, $pid]);
move_uploaded_file($image_tmp_name, $image_folder);
unlink('uploaded_img/'.$old_image);
121
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
?>
if(isset($_POST['update'])){
$pid = $_POST['pid'];
$name = $_POST['name'];
$price = $_POST['price'];
$category = $_POST['category'];
122
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$old_image = $_POST['old_image'];
$image = $_FILES['image']['name'];
$image_size = $_FILES['image']['size'];
$image_tmp_name = $_FILES['image']['tmp_name'];
$image_folder = 'uploaded_img/'.$image;
if(!empty($image)){
}else{
$update_image->execute([$image, $pid]);
move_uploaded_file($image_tmp_name, $image_folder);
unlink('uploaded_img/'.$old_image);
?>
<section class="accounts">
123
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<div class="box-container">
<?php
$select_account->execute();
while($fetch_accounts = $select_account->fetch(PDO::FETCH_ASSOC)){
?>
<div class="box">
</div>
<?php
}else{
?>
</div>
124
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
</section>
if(isset($_GET['delete'])){
$delete_id = $_GET['delete'];
$delete_users->execute([$delete_id]);
$delete_order->execute([$delete_id]);
$delete_cart->execute([$delete_id]);
header('location:users_accounts.php');
<?php
if(isset($_POST['add_to_cart'])){
$verify_check->execute($is_verified);
if($user_id == ''){
header('location: ../login.php');
125
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
else{
$pid = $_POST['pid'];
$name = $_POST['name'];
$price = $_POST['price'];
$image = $_POST['image'];
$qty = $_POST['qty'];
$check_cart_numbers->execute([$name, $user_id]);
}else{
126
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
?>
<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;
require 'PHPMailer/src/Exception.php';
require 'PHPMailer/src/PHPMailer.php';
require 'PHPMailer/src/SMTP.php';
$mail->isSMTP();
$mail->Host = 'smtp.hostinger.com';
$mail->SMTPAuth = true;
127
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
$mail->addAddress($to);
$mail->isHTML(true);
<a href="http://reincakesandpastries.shop/verify.php?code='.
$verification_code.'">Verify</a><br>
<br>
Please ignore and delete this email if you are not meant to receive this email.';
if ($mail->send()) {
return true;
} else {
return false;
?>
128
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
Database Connection:
<?php
$host = "localhost";
$dbname = "u222638551_food_db";
$username = "root";
$password = "";
try {
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
if(isset($_POST['delete'])){
$cart_id = $_POST['cart_id'];
$delete_cart_item->execute([$cart_id]);
129
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
if(isset($_POST['delete_all'])){
$delete_cart_item->execute([$user_id]);
// header('location:cart.php');
if(isset($_POST['update_qty'])){
$cart_id = $_POST['cart_id'];
$qty = $_POST['qty'];
$update_qty->execute([$qty, $cart_id]);
Retrival of the Current Items inside the Customer's Cart in the Database and the computation of
the Total Price:
<section class="products">
130
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<div class="box-container">
<?php
$grand_total = 0;
$select_cart->execute([$user_id]);
while($fetch_cart = $select_cart->fetch(PDO::FETCH_ASSOC)){
?>
<div class="flex">
</div>
</form>
<?php
131
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$grand_total += $sub_total;
}else{
?>
</div>
<div class="cart-total">
</div>
<div class="more-btn">
</form>
</div>
</section>
Checking if the user has an address on Checkout and the Checkout Process itself:
132
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
if(isset($_POST['submit'])){
$name = $_POST['name'];
$number = $_POST['number'];
$email = $_POST['email'];
$method = $_POST['method'];
$address = $_POST['address'];
$total_products = $_POST['total_products'];
$total_price = $_POST['total_price'];
$check_cart->execute([$user_id]);
if($address == ''){
}else{
133
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
$delete_cart->execute([$user_id]);
}else{
?>
<section class="checkout">
134
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
<div class="cart-items">
<h3>Cart Items</h3>
<?php
$grand_total = 0;
$cart_items[] = '';
$select_cart->execute([$user_id]);
while($fetch_cart = $select_cart->fetch(PDO::FETCH_ASSOC)){
$total_products = implode($cart_items);
?>
<?php
}else{
?>
135
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
</div>
<div class="user-info">
<h3>Your Information</h3>
<h3>Delivery Address</h3>
</div>
136
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
</form>
</section>
Customer Login:
if(isset($_POST['submit'])){
$email = $_POST['email'];
$pass = sha1($_POST['pass']);
$select_user->execute([$email, $pass]);
$row = $select_user->fetch(PDO::FETCH_ASSOC);
$_SESSION['user_id'] = $row['id'];
header('location:index.php');
}else{
137
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
?>
User Registration:
if(isset($_POST['submit'])){
$name = $_POST['name'];
$email = $_POST['email'];
$number = $_POST['number'];
$pass = sha1($_POST['pass']);
$cpass = sha1($_POST['cpass']);
$select_user->execute([$email, $number]);
$row = $select_user->fetch(PDO::FETCH_ASSOC);
}else{
if($pass != $cpass){
138
COLLEGE CAVITE
AMA University Town Crisanto M. Delos Reyes Avenue, Brgy. Biclatan, General
Trias, Cavite TEL. 0960 333 6076
}else{
$verify_code = md5(uniqid());
require_once './components/send_email_verify.php';
sendVerificationEmail($email, $verify_code);
header('Location: index.php');
exit();
139