Online Computer and Laptop Store using PHP and MySQL Source Code Free Download

Language

This project is entitled Online Computer and Laptop Store. This web application was developed to provide an online platform for a certain computer store or business possible customers for exploring and ordering the products. The project is written in PHP Language and MySQL DB. It has a pleasant user interface using Bootstrap Framework and AdminLTE Template. It consists of multiple user-friendly features and functionalities.

How do the Online Computer and Laptop Store work?

The Online Computer and Laptop Store contains 2 modules or is composed of 2 sites which are the Management and the Client Site. Public Visitors can also explore the different products that are available in the store.

The project Management Site is the side of the system that is only accessible to the store management. The management can manage the list of products, product categories, product sub-categories, inventory, and orders, and generate sales reports. Each management features contains CRUD (Create, Read, Update, and Delete). Here, management can manage the client orders such updating the status of the order and the payment status.

The Client Site is the side of the system where they can explore the different products of the store. They can search for their desired product to if it is available in the store. The product list can be filtered by category and subcategory. On the product details page, they can read the full details about the product including the price and availability of the product. They can also add products to the shopping cart for checking out later or along with other products.

Furthermore, this project is integrated with the PayPal sandbox API as the cashless or online payment method. The management can also update the site information dynamically such as the site name, icon/logo, and banners.

Features and Functionalities

Administrator

  • Login and Logout
  • Dashboard Page
  • Category List Management
  • Sub Category List Management
  • Brand List Management
  • Product List Management
  • Inventory Management
  • Order Management
  • Date-wise Printable Sales Report
  • Update System Information
  • User Management
  • Update Account Details

Client-Site

  • Product List
  • Filter Products By Brand
  • Filter Product By Category
  • Filter Product By Sub Category
  • Category List Page
  • Search Product
  • Login and Registration
  • Shopping Cart
  • Checkout
  • Online Payment using PayPal API
  • Order List
  • Logout

Technologies

Here are the following technologies I used for developing the Online Computer and Laptop Store:

  • XAMPP
  • VS Code Editor
  • PHP
  • MySQL Database
  • HTML
  • JavaScript
  • jQuery
  • Ajax Request
  • Bootstrap Framework
  • AdminLTE Template

Snapshots

Site Home Page

Online Computer and Laptop Store Source Code in PHP and MySQL

Site Category List

Online Computer and Laptop Store Source Code in PHP and MySQL

Product List By Category

Online Computer and Laptop Store Source Code in PHP and MySQL

Product Details

Online Computer and Laptop Store Source Code in PHP and MySQL

Admin Dashboard

Online Computer and Laptop Store Source Code in PHP and MySQL

Admin Product List

Online Computer and Laptop Store Source Code in PHP and MySQL

Admin Order Details

Online Computer and Laptop Store Source Code in PHP and MySQL

Admin Sales Report

Online Computer and Laptop Store Source Code in PHP and MySQL

The Online Computer and Laptop Store Project Source Code zip file is available on this website and it is free to download. Note, the project was mainly developed for educational purposes only and not for commercial use. Feel free to download and modify the source code the way you wanted and to meet your own requirements.

How to Run?

Requirements

  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database named ocls_db.
  7. Import the provided SQL file. The file is known as ocls_db.sql located inside the database folder.
  8. Browse the Online Computer and Laptop Store in a browser. i.e. http://localhost/php-ocls/ and http://localhost/php-ocls/admin for the management site.

Default Admin Access

Username: admin
Password: admin&123

DEMO VIDEO

That's it! I hope this Online Computer and Laptop Store Project Source Code in PHP and MySQL DB will help you with what you are looking for and that you'll find something useful for your current and future PHP Projects.

Explore more on this website for more Tutorials and Free Source Codes.

Enjoy =)

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byDevesh Baid (not verified)on Thu, 07/06/2023 - 22:51

how to add new product with images, it always show error when you try to upload image
Submitted bySomrith (not verified)on Thu, 07/13/2023 - 16:19

why I can't login with the client user even it's was registered. client login failed, pls help

Hi, I resolved by replacing the lines 383 and 593 in the Master (you can locate it on /classes/Master.php) with this: $_POST['password'] = password_hash($_POST['password'], PASSWORD_DEFAULT); The issue was that it was saving as a
MD5
and not as the main
Password Hash
of PHP, so when wanted to make a look up it doesn't work 'cause it has a different hash. I hope you can get this and can resolve this as I do. God bless you All
Submitted byAnonymous (not verified)on Tue, 10/24/2023 - 09:46

Hello for every admin lte secured login is there any way to change the hash from md5 to password_hash for security reasons?
Submitted bySaber123456789 (not verified)on Sat, 10/28/2023 - 23:05

Can you change the code so that the admin account is different from the client user When I'm testing a random client user, I log into the admin and my random client user suddently gone and it becomes the admin acoount
Submitted byvicky1609 (not verified)on Wed, 01/24/2024 - 02:13

why I can't login with the client user even it's was registered. client login failed or invalid credentials, pls help
Submitted byaliya (not verified)on Mon, 01/29/2024 - 19:54

how to add new product with images, it always show error when you try to upload image and image cannot show
Submitted byKaro bhai (not verified)on Sat, 03/23/2024 - 00:54

How to add all validation in registration page pls help ?
Submitted bysample007 (not verified)on Sun, 03/24/2024 - 04:39

Why I can't change the password in client accounts. it always tell Current password is incorrect. Could you pls help me for resolve that error.

Add new comment