Online Shop Project using PHP/MySQL


The Online Shop using PHP/MySQL is a project for online purchasing/ordering. This project was developed using HTML, CSS, JavaScript, PHP, and bootstrap. 

About the Project

The Online Shop project has 2 types of users, which is the subscriber or the buyer and the admin. The admin manages all the necessary data or records of product to sell. Also, the admin will update the status of the user's orders. The users can search, filter, and explore any products of the shop and can save their selected products to their cart for later checkout. The project requires users to register with the system so they can proceed to check out. Users will submit their orders along with their address information for the delivery. This online shop system only handles cash on delivery and not connected to any third parties such as an API for a credit card or PayPal payment. 


Admin Side

  • Login Page
    • This feature helps to secure the data of the system.
  • Dashboard
    • The welcome page of the admin users after logging in. This page displays the total number of user, brands, and categories
  • Maintenance Page
    • This is the page where the admin can manage the list of brands and product categories of the shop.
  • Product Page
    • This is the page where the products are listed and also being managed.
  • Order Page
    • On this page, the admin can view the orders of and update the status of each order.
  • Users Page
    • This is the page where the users are listed.

User Side

  • Home Page - The page where users are being redirected when browsing the shop.
  • Search Field - This input help user to search their desired Brands, Categories, and product.
  • Cart Page - This is the page where the users will review his/her order before submitting their order.
  • Checkout Page - This is the page where the user will update their desired location for the last step of the transaction.


  1. Download the source code and extract the zip file.
  2. Download or set up any local web server that runs a PHP script.
  3. Open web server database and create a new database name it shop_db.
  4. Import the sql file located at the database folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. example for XAMPP('C:\xampp\htdocs')
  6. Open a web browser and browse the project.

Use URL below for USER SIDE.

  [ http://localhost/enrollment-system-using-php ]

And for the ADMIN SIDE, use the URL below

  [ http://localhost/enrollment-system-using-php/admin ]


ADMIN Default Access

username: admin

password: admin123

I hope this project will cater to your needs or help you with what you are looking for. Feel free to download and modify the source code.

Explore more on this website for more Projects and Tutorials.


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 by RiToz (not verified)on Tue, 09/29/2020 - 01:49

Error: Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\shop\db.php on line 9 Connection failed: Access denied for user 'root'@'localhost' (using password: NO)

Add new comment