

OFMP-Online Farmers Market PlatformOFMP-Online Farmers Market Platform
A PHP & MySQL-based e-commerce system connecting farmers and customers for selling and buying agricultural products online.
OFMP-Online Farmers Market Platform
A PHP & MySQL-based e-commerce system connecting farmers and customers for selling and buying...
Overview
The Online Farmers Market Platform is a web-based application designed to simplify the buying and selling of farm products. It allows farmers to list their produce, manage stock, and track orders, while customers can browse categories, place orders, and make payments securely. Admins can oversee users, products, and transactions. The system integrates essential e-commerce features such as product management, order tracking, payments, and login roles for Admin, Farmer, and Customer.
Features
- Farmer registration & product listing
- Customer registration & product browsing
- Categories for cereals, legumes, tubers, vegetables, and fruits
- Order placement with unique reference codes
- Cart and order item management
- Payments via Cash on Delivery and Credit/Debit Card
- Login system with different roles (Admin, Farmer, Customer)
- Product details with price, quantity, and image
- Farmer-to-customer direct transactions
- Admin control for managing database entities
Requirements
- Server: XAMPP/LAMP/WAMP
- Database: MariaDB 10.4+ or MySQL 5.7+
- PHP: Version 8.0+ (tested with 8.2.12)
- Browser: Modern browser (Chrome, Firefox, Edge)
Instructions
1.    Unzip the project files and place on C:xampphtdocsfarmer.
2.    Import the provided SQL dump into phpMyAdmin or MySQL CLI (farmer).
3.    Configure database connection in Database.php or config file.
4.    Start Apache and MySQL in XAMPP/LAMP/WAMP.
5.    Access the project via browser (http://localhost/farmer).
6.    Login using available credentials (Admin, Farmer, or Customer).
Admin
- Email/Username: [email protected]
- Password: admin
- Role: Admin
Farmers
- Email/Username: [email protected]
- Password: farmer
- Role: Farmer
Customers
- Email/Username: [email protected]
- Password: customer
- Role: Customer
Â
Farmers can upload products, customers can place orders, and admins can manage users and products.
Other items by this author
Category | Scripts & Code / PHP Scripts / Miscellaneous |
First release | 2 October 2025 |
Last update | 2 October 2025 |
Software version | PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
Files included | .php, .css, .html, .sql, .cs, Javascript .js |
Database | MySQL 4.x, MySQL 5.x |
Tags | farmers market system, php ecommerce project, agricultural marketplace, online farm products, mysql farmers app, php farm system, food delivery php, farmer to customer platform, agricultural ecommerce php, php mysql market, online vegetable shop, php fruits system, tubers cereals legumes php, php marketplace agriculture, php mysql ecommerce |