Online Market Place Site in PHP/OOP Free Source Code

Language

Introduction

This simple project is an Online Market Place Site in PHP. This is a web-based application project developed in PHP and MySQL Database. This project is an online platform that allows sellers to publish their selling items. This simple site was inspired by the Facebook Market Place feature where sellers can even sell used items. The application has a pleasant user interface using the Bootstrap v5 Framework and Material Kit Template. It also consists of user-friendly features and functionalities.

About the Online Market Place Site in PHP

I developed this project using the following:

This Online Market Place Site in PHP is composed of 3 User Interfaces which are the Admin Panel, Seller Panel, and Public Site. The Admin Panel is the side of the system where the system management can manage all the project data. Admin Users have the privilege to access and manage all the products or items that the seller published. They can also manage the list of users where they can update and delete sellers' data. The Seller Panel is the side of the system where the seller can manage their published items. The seller can add images and some information about the product that they are selling such as the item's specifications. They can set the quantity or stock that they have in each item they published. On the Public Site, site visitors or anonymous users can search for their desired product to check if someone posted a product that they wanted. Users can list all the available products and view each item's details. The posted product details also contain or display the seller's basic information and links where the possible buyer can contact them.

Features

Admin-Side

  • Home Page
    • Display the summary of the list.
  • Category Management
    • Add New Category
    • List All Categories
    • View Category Details
    • Edit Category Details
    • Delete Category Details
  • User Management
    • Add New User
    • List All Users
    • View User Details
    • Edit User Details
    • Reset User Password
    • Delete User Details
  • Product Management
    • List All Products
    • View Product Details
    • Edit Product Details
    • Delete Product Details
  • Update System Information
  • Update Account Details/Credentials
  • Login and Logout

Seller-Side

  • Home Page
    • Display the summary of the list.
  • Product Management
    • Add New Product
    • List All Products
    • View Product Details
    • Edit Product Details
    • Delete Product Details
  • Update Account and Contact Details/Credentials
  • Login and Logout

Public-Side

  • Home Page
    • Display the Welcome Content.
  • 'About Us' Content
  • List All Available Products
  • View Product Details
  • Redirect to Seller's Website
  • Redirect to Seller's FB Page
  • Get Seller's Contact Details
  • Search Product

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Public Site

Online Market Place Site in PHP

Product List (Public-Side)

Online Market Place Site in PHP

Product Details

Online Market Place Site in PHP

Seller Registration Form

Online Market Place Site in PHP

Seller Panel

Online Market Place Site in PHP

Admin Panel

Online Market Place Site in PHP

How to Run ??

Requirements

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. Extract the downloaded assets zip file.
  6. Copy the extracted assets folder and paste it into the source code root path.
  7. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  8. Create a new database naming omps_db.
  9. Import the provided SQL file. The file is known as omps_db.sql located inside the database folder.
  10. Browse the Online Market Place Site in PHP in a browser. i.e. http://localhost/omps/.

Admin Default Access:

Username: admin
Password: admin123

Sample Seller Access:

Username: mcooper
Password: mcooper123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this Online Market Place Site in PHP. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

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

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 byhelp2on Wed, 06/08/2022 - 04:57

Hello, I encounter a problem when saving a new product or seller that contains an image. When I click save, I encounter this error "An error occured while saving data". Data is added but the image is not saved. Feels like it can't get the path for the image, even tried to get the images from the same path as in the video.

Looked throught the code, but I can't seem to find the problem. Any tips for this?

 

Edit: I did not enabled the GD library correctly. It was fixed after this.

Submitted byAbdul-salam (not verified)on Wed, 08/10/2022 - 01:21

I can seem to find the SQL file. Please where is the database folder
Submitted byAbdul-salam (not verified)on Wed, 08/10/2022 - 01:23

Please I don't seem to find the database folder containing the SQL file. Please help

Add new comment