Multi-Vendor Online Groceries Management System in PHP/OOP Free Source Code

Language

Introduction

This is a PHP entitled Multi-Vendor Online Groceries Management System. This is a web-based application that helps consumers and vendors do business online. The system serves as an online shop or store platform for groceries that can handle multiple vendors. This allows multiple vendors to publish their available products online. It has a simple and pleasant user interface with the help of Bootstrap Framework and AdminLTE Template. It also has user-friendly features and functionalities to give the end-users a hassle-free and better experience while using the system.

About the Multi-Vendor Online Groceries Management System

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • AdminLTE

The Multi-Vendor Online Groceries Management System Project has 3 sides of the user interface. It has a side for Management, Vendors, and Clients. Each of the user groups has different restrictions to each other.

The Management Side is the side of the system where the management can manage and access the data in the system. This side is mainly for managing the system information, users, and all that are related to all sides of the system. It can be accessed by 2 types of user roles which are the Administrators and Staff. The Administrator Users have the privilege to access and manage all the features and functionalities of the said system side while the Staff Users have only limited access. This side can list and view all the transactions of all vendors.

The Vendor Side is the side of the vendors where they can list all the products they are selling. Vendors can also list and manage all their clients' orders. They can update the status of the order and generate printable monthly order reports.

The Client-Side is the side for the registered clients and for anonymous visitors. They can explore the products listed in the system from multiple vendors. The client can simply create their system credentials so that they can access some other functionalities of the system that are only available for registered clients. They can add products to their shopping cart for later checkout. In the Cart list, the added products of the client is being listed and organized per vendor. When the client places their order, the system will save the orders per vendor, so if the client orders are from multiple vendors their order transaction will be separated per vendor. They can also list all their orders and check for status updates. The clients are only allowed to cancel their pending orders.

Online Payment is not included in the project. You can add it if you want to use the project with some online payment APIs.

Features

Management-Side

  • Secure Login and Logout
  • Dashboard
    • Display the summary of lists.
  • Shop Types Management
    • Add New Shop Type
    • List All Shop Types
    • View Shop Type
    • Update Shop Type
    • Delete Shop Type
  • Vendors Management
    • List All Vendors
    • View Vendor
    • Update Vendor Details/Credentials
    • Delete Vendor
  • Clients Management
    • List All Clients
    • View Client
    • Update Client Details/Credentials
    • Delete Client
  • Products
    • List All Products
    • View Product Details
  • Orders
    • List All Orders
    • View Order Details
  • Report
    • Generate Monthly Order Report
  • Manage User List (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information

Vendor-Side

  • Secure Login and Registration
  • Dashboard
    • Display the summary of lists.
  • Category Management
    • Add New Category
    • List All Categories
    • View Category
    • Update Category
    • Delete Category
  • Product Management
    • Add New Product
    • List All Products
    • View Product
    • Update Product Details
    • Delete Product
  • Order Management
    • List All Orders
    • View Order
    • Update Order Status
  • Report
    • Generate Monthly Order Report
  • Manage Account Details/Credentials
  • Logout

Client-Side

  • Secure Login and Registration
  • Read 'Welcome' Content
  • Read 'About Us' Content
  • Explore Products
  • Filter Products per Category
  • Add Product to Cart
  • Manage Cart
  • Place Order
  • List Orders
  • Cancel Pending Orders
  • Manage Account Details/Credentials
  • Logout

System Snapshots of some Features

Admin Dashboard
Multi-Vendor Online Groceries Management System
Vendor Dashboard
Multi-Vendor Online Groceries Management System
Vendor's Registration Form
Multi-Vendor Online Groceries Management System
Vendor's Side - Order Details Modal
Multi-Vendor Online Groceries Management System
Public Product List
Multi-Vendor Online Groceries Management System
Client's Shopping Cart Page
Multi-Vendor Online Groceries Management System
Client's Checkout Page
Multi-Vendor Online Groceries Management System
Client's Order List
Multi-Vendor Online Groceries Management System
Client's Order Details Modal
Multi-Vendor Online Groceries Management System

How to Run ??

Requirements

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

Installation/Setup

  1. Enable or Uncomment the GD Library on your php.ini file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database naming mvogms_db.
  7. Import the provided SQL file. The file is known as mvogms_db.sql located inside the database folder.
  8. Browse the Multi-Vendor Online Groceries Management System in a browser. i.e. http://localhost/mvogms/.

Default Admin Access

Username: admin
Password: admin123

Sample Vendor Access

Username: shop101
Password: shop101

Sample Client Access

Username: [email protected]
Password: jsmith123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this Multi-Vendor Online Groceries Management System in PHP. I hope this project 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 byJoel Jeyaseelan (not verified)on Tue, 04/12/2022 - 17:26

Hi, The code is very useful. Can you inform how admin login users can also update the orders?
Submitted byTayyab Ahmed (not verified)on Sat, 07/30/2022 - 01:35

when ever we create a new vendor it does not upload images if the products? Can you tell us how can we resolve this error?
Submitted byGeoDude (not verified)on Tue, 11/22/2022 - 13:59

Hi, your code was very helpful but how can I change the colors for the background and font?

Edit "initialize.php" this file like this '-1','firstname'=>'Developer','lastname'=>'','username'=>'dev_oretnom','password'=>'5da283a2d990e8d8512cf967df5bc0d0','last_login'=>'','date_updated'=>'','date_added'=>''); if(!defined('base_url')) define('base_url','https://www.example.com/mvogms/'); if(!defined('base_app')) define('base_app', str_replace('\\','/',__DIR__).'/' ); if(!defined('dev_data')) define('dev_data',$dev_data); if(!defined('DB_SERVER')) define('DB_SERVER',"127.0.0.1"); if(!defined('DB_USERNAME')) define('DB_USERNAME',"mvogms_db"); if(!defined('DB_PASSWORD')) define('DB_PASSWORD',"mvogms_db"); if(!defined('DB_NAME')) define('DB_NAME',"mvogms_db"); ?> then your problem will be solved.
Submitted byrqamzo (not verified)on Wed, 03/20/2024 - 20:05

Hello there is one issue we are not able to save or upload the image? would you like to tell some solution?
Submitted bylagendrio (not verified)on Thu, 03/21/2024 - 00:56

Not able to upload image please resolve it.
Submitted byraptop (not verified)on Fri, 03/22/2024 - 17:52

Enable or uncomment the GD Library on your php.ini file. all those who are not able to upload image, follow these steps. 1- go to xampp> apche> config>then 2-php.ini and search GD 3- then uncomment >>>>>>> ; extension=dd remove comment and save file 4- restart xampp and hurrah code is fine. Remember in prays.

Add new comment