Overview
Lugani is a comprehensive E-commerce platform built with Laravel. It features a robust layout for standard
users (shoppers), a dedicated panel for delivery agents, and a feature-rich admin dashboard for complete
store management.
2. User Roles & Modules
A. Shop (Public Frontend)
Target Audience: Customers/Visitors
- Product Browsing: View products by Category and Subcategory. Product Search with
Suggestions. Product Details: Description, variations (size/color), pricing, and images.
- Cart & Checkout: Add to Cart, Update quantities, Remove items. Apply Coupons and Gift
Cards. Secure Checkout Process (Address selection, Payment method).
- Payment Options: Cash on Delivery (COD). Online Payment (Razorpay/PhonePe). Wallet
Balance usage.
- Static Pages: About Us, Contact Us, Policy Pages (Privacy, Shipping, Refund, etc.).
- Blog & Testimonials: Read blogs and view customer testimonials.
B. User Dashboard (Authenticated Customers)
Routes Prefix: /user/*
- Authentication: Login, Registration, Password Reset.
- Profile Management: Update name, email, phone, and profile picture.
- Address Book: Manage multiple delivery addresses (Add/Edit/Delete).
- Order History: View past orders, order status, and download invoices.
- Wallet System: View balance and transaction history.
- Wishlist: Save products for later, move to cart.
- Support: Tickets (Create and manage), Gift Cards (View purchased/received).
C. Delivery Agent Panel
Routes Prefix: /delivery/*
- Dashboard: Overview of assigned, completed, and pending orders. Earnings statistics.
- Order Management: View assigned orders with customer details. Update Order Status
(e.g., Out for Delivery, Delivered).
- Profile & KYC: Update personal details and profile photo. Manage Vehicles and Documents
(License, ID Proof).
- Notification: Receive system notifications.
D. Admin Panel
Routes Prefix: /admin/*
Security: Protected by Role-Based Access Control (RBAC).
1. Dashboard
- Analytics overview: Total Sales, Orders, New Customers.
- Recent activity logs.
2. Product Management (`/admin/products`)
- CRUD Operations: Create, Read, Update, Delete products.
- Variations: Manage sizes, colors, and stock levels.
- Import/Export: Bulk Upload via Excel. Export Product List to PDF.
- Categories: Manage Categories and Subcategories hierarchy.
3. Sales & Orders (`/admin/orders`)
- Order Listing: Filter by status, date, or search.
- Order Details: View items, shipping info, and payment status.
- Actions: Update Status, Assign Delivery Agents, Download Invoices.
4. User Management
- Clients: View registered customers, their orders, and wallet balance.
- Administrators/Staff: Manage system users.
- Roles & Permissions: Create dynamic roles (e.g., Manager, Editor). Assign granular
permissions (e.g., `view_orders`, `create_products`).
5. Delivery Management (`/admin/delivery-agents`)
- Agents: List all agents, view profiles, and verify documents.
- Vehicles: Monitor agent vehicles.
- Notifications: Send custom notifications to agents.
6. Marketing
- Coupons & Discounts: Create percentage/fixed discount codes and automated discounts.
- Promotional Banners: Manage homepage sliders.
- Subscribers: View newsletter subscribers.
7. Content & Settings
- Content: Blogs, Testimonials, Support Tickets, Contact Inquiries.
- Settings: Website (Logo, Name), Payment Gateways, Shipping Rules, SEO, Policies.