We created an e-commerce platform designed to connect farmers directly with consumers. It enables farmers to sell fresh produce online while providing customers with a seamless shopping experience.
8Farmers.com is an e-commerce platform designed to connect farmers directly with consumers. It enables farmers to sell fresh produce online while providing customers with a seamless shopping experience. The platform required a robust backend system to manage inventory, orders, users, and payments efficiently. To achieve this, CodeIgniter PHP was chosen due to its lightweight nature, MVC architecture, and ease of deployment.
Direct Farmer-to-Consumer Model: Eliminating middlemen and ensuring fair pricing. Efficient Order Management: Real-time tracking of orders, inventory, and payments. User-Friendly Interface: A simple yet powerful UI/UX for both customers and admin. Scalability: The ability to handle increasing users and transactions. Secure Payment Integration: Support for multiple payment gateways. Data Analytics: Tracking sales, customer behavior, and revenue trends.
The platform utilizes MySQL for structured data storage. The key tables include: users (customer and admin details)
products (product details, stock levels, pricing)
orders (order status, customer details, payment info)
transactions (payment logs, refunds, discounts)
reviews (customer feedback and ratings)
Built using HTML, CSS (Bootstrap), and JavaScript (jQuery, AJAX).
CodeIgniter Controllers handle routing and data fetching.
Product Listing & Search: Dynamic product filtering and sorting.
Shopping Cart: Session-based cart using CodeIgniter's session management.
Payment Gateway Integration: PayPal, Razorpay, Stripe, and COD options.
The admin panel was developed to allow easy management of:
Product Catalog: CRUD operations (Create, Read, Update, Delete) for products.
Order Management: Viewing, updating, and canceling orders.
User Management: Customer accounts and roles management.
Reports and Analytics: Sales trends, product demand, and user engagement.
Authentication & Authorization: Custom user roles (Admin, Vendor, Customer) using CodeIgniter’s session library.
Dashboard with Charts: Real-time order statistics using Chart.js.
Bulk Product Upload: CSV import feature for inventory management.