Skip to main content

Bakeshop Online Ordering System in PHP/MySQLi with Full Source Code


Bakeshop Online Ordering System in PHP/MySQLi with Full Source Code

The Bakeshop Online Ordering System is a web based system that is developed using PHP, JavaScript, BootStrap and MySQL for the database. The main purpose of this Bakeshop Online Ordering System is to give convenience to customers to easily place order at their favorite bakeshop through online. Using their device whether it’s a laptop or smartphone with an internet connection, customers can place an order anytime and anywhere.

About the Bakeshop Online Ordering System in PHP/MySQLi

The Bakeshop Online Ordering System can benefit both the business owner and customer. This Bakeshop Online Ordering System can be very helpful to small business who wants their business to be known in the internet world. The Bakeshop Online Ordering System contains two sides, the user/customer side and the admin side. In the User/customer side, he needs to register so he can log in into the system. After that, the customers can now easily browse wide range of available pastries, cakes and breads. Once, the customer places his order, an SMS notification will be sent to the owner. While on the admin side, he manages all the orders, manage products, manage categories and many more. With the use of Bakeshop Online Ordering System, business owners can save more time, effort and money.

These are the following features of the Bakeshop Online Ordering System in PHP/MySQLi

Admin Side

  • Manage Products
  • Manage Orders
  • Manage Categories
  • Settings
  • Manage Users
  • Report

Public Side

  • Viewing Product
  • Place Order
  • Register Customer
  • Submit Order
  • Customer Profile
  • List of Customer Orders

System Requirements:

Download and install the following:

xampp latest version
Diafaan SMS Server

How to setup the Bakeshop Online Ordering System in PHP/MySQLi with Full Source Code

  1. Download the zip file.
  2. Download and install XAMPP
  3. Run the XAMPP control panel and start MySQL and Apache
  4. Go to C:\xampp\htdocs and extract the downloaded zip file (BakeryOnlineOrdering) inside the folder
  5. Open the browser and go to http://localhost/phpmyadmin/ to create the database
  6. Click the new to create a database.
  7. Name the database db_bakeryordering.
  8. Click import to import the sql file.
  9. Click choose file and select the file that can be found inside the BakeryOnlineOrdering folder
  10. Click go.

How to run the Bakeshop Online Ordering System in PHP/MySQLi with Full Source Code

Open the browser and go to http://localhost/BakeryOnlineOrdering/

Accessing admin accounts
Username: janobe
Password: admin

Register for the customer's account.

This Bakeshop Online Ordering System in PHP/MySQLi with Full Source Code is for educational purposes only. You can download it as a reference and expand your knowledge in making a system. You can freely modify it, according to your desire.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byFeras Al Kassar (not verified)on Tue, 05/11/2021 - 22:57

Hello, I want to report for 4 XSS vulnerabilities. We found four XSS vulnerabilities. sources
  1. // admin/category/controller.php doEdit Function
  2. message("[". $_POST['CATEGORY'] ."] has been updated!", "success");
  4. // admin/orders/controller.php doInsert Function
  5. message("New [". $_POST['PRODUCTNAME'] ."] created successfully!", "success");
  7. // admin/user/controller.php doInsert Function
  8. message("New [". $_POST['U_NAME'] ."] created successfully!", "success");
  10. // admin/user/controller.php doEdit Function
  11. message("[". $_POST['U_NAME'] ."] has been updated!", "success");
  1. //In the file include/session.php
  2. function check_message(){
  3. // some code
  4. echo '<label class="alert alert-info" style="width:100%;padding:5px;">'. $_SESSION['message'] . '</label>';
  5. // some code
  6. }

Add new comment