Life Essentials77 Global

Complete Platform Documentation

Version 1.0

Table of Contents

1. Platform Overview

About Life Essentials77 Global

Life Essentials77 Global is a comprehensive multi-service and multi-vendor marketplace platform that connects individuals and businesses with essential services, products, and solutions across 17 core industries. The platform combines a corporate service directory with a fully-featured e-commerce marketplace where users can buy, sell, and interact.

Mission Statement

"You name it, we find it and all sorted."

Key Statistics

17+
Core Divisions
100+
Service Categories
24/7
Customer Support
Global
Worldwide Reach

2. System Architecture

Technology Stack

Frontend
  • HTML5, CSS3, JavaScript
  • Bootstrap 5 (Responsive Framework)
  • Font Awesome 6 Icons
  • Google Fonts (Montserrat, Open Sans)
  • AOS Animation Library
  • Select2 for enhanced dropdowns
Backend
  • PHP 7.4+ (Object-Oriented)
  • MySQL Database
  • PDO for Database Operations
  • Session-based Authentication
  • Password Hashing (bcrypt)
  • AJAX for Dynamic Content

Directory Structure

life-essentials77/
├── admin/                 # Admin Panel
│   ├── includes/         # Admin components
│   ├── dashboard.php     # Admin dashboard
│   ├── divisions.php     # Manage divisions
│   ├── users.php         # User management
│   └── ...
├── assets/               # Static assets
│   ├── css/             # Stylesheets
│   ├── js/              # JavaScript files
│   └── images/          # Images and logos
├── includes/            # Core components
│   ├── header.php       # Site header
│   ├── footer.php       # Site footer
│   ├── functions.php    # Core functions
│   └── assets.php       # Asset management
├── uploads/             # User uploads
│   ├── products/        # Product images
│   └── business/        # Business logos
└── [page files].php     # All frontend pages

3. User Roles & Permissions

Feature Guest Regular User Business Owner Admin
Browse Marketplace
Search Products
View Divisions
Contact Us
Create Account
Login/Logout
Purchase Products
Add to Wishlist
Write Reviews
Send Messages
Create Business
Add Products
Manage Orders
Access Admin Panel
Manage Users
System Settings

4. Core Features

🏢 17 Core Divisions

  • Logistics & Supply Chain
  • Automobile Services
  • Telecommunications & IT
  • Interior & Exterior Decoration
  • Electronics & Mobile Devices
  • Industrial & Household Cleaning
  • Tours & Travel
  • Furniture Supply
  • Machinery & Industrial Equipment
  • Agro-Allied Services
  • Production Setup
  • Consultancy Services
  • Media & Advertisement
  • Home & Office Services
  • Healthcare Support
  • Engineering Solutions
  • Expert Networking Platform

🔧 Platform Features

  • Smart Search: Advanced search across all divisions and services
  • User Authentication: Secure registration and login system
  • Responsive Design: Works on all devices (mobile, tablet, desktop)
  • Asset Management: Automatic fallback from local files to CDN
  • SEO Friendly: Clean URLs and meta tags
  • Contact Form: With division-specific preselection
  • Testimonials: Client reviews and ratings
  • Newsletter: Email subscription system
  • Social Media Integration: Connect with social platforms

5. E-Commerce Marketplace Features

Multi-Vendor Marketplace

Anyone can create their own store and start selling products

Shopping Cart

Add products to cart and checkout securely

Wishlist

Save favorite products for later purchase

Product Reviews

Rate and review products you've purchased

Order Tracking

Track your orders from purchase to delivery

Sales Analytics

Business owners can track sales and revenue

Shop Features

  • Custom Shop Pages: Each business gets a dedicated shop page with branding
  • Product Management: Add, edit, delete products with images
  • Inventory Management: Track stock quantities
  • Featured Products: Highlight specific products
  • Category Filtering: Browse products by category
  • Search Products: Find products by name or description
  • Pagination: Browse through pages of products

6. Business Management System

Creating a Business

  1. Register for a user account
  2. Navigate to "Start a Business" or "Create Business"
  3. Fill in business details (name, category, description, logo)
  4. Submit for verification
  5. Start adding products once approved

Business Dashboard Features

  • Products Management: Add, edit, delete products
  • Order Management: View and process customer orders
  • Sales Analytics: Track revenue and order statistics
  • Customer Messages: Communicate with customers
  • Business Settings: Update business information
  • Follower Management: See who follows your business
  • Product Insights: View product views and sales
  • Shipping Settings: Configure shipping options

Business Verification Levels

LevelBenefits
BasicStandard store features, up to 50 products
VerifiedTrust badge, priority support, up to 500 products
PremiumFeatured placement, marketing support, unlimited products

7. User Pages & Features

📊 Dashboard (dashboard.php)

Central hub for user activity showing:

  • Order statistics (total orders, amount spent)
  • Wishlist count and following count
  • Recent orders with status
  • Quick links to all user sections
  • Business management links (if applicable)

🛒 My Purchases (my-purchases.php)

  • View all order history
  • Track order status
  • View order details and items
  • Download invoices
  • Request returns/refunds

❤️ Wishlist (wishlist.php)

  • Save favorite products
  • Add items directly to cart
  • Remove items from wishlist
  • Clear entire wishlist

💬 Messages (messages.php)

  • Real-time chat with sellers
  • Conversation history
  • Unread message notifications
  • Mark messages as read

👤 Profile (profile.php)

  • View and edit personal information
  • Change password securely
  • Update contact details
  • Profile picture upload

⚙️ Settings (settings.php)

  • Notification preferences
  • Email subscription settings
  • Privacy controls
  • Data export option
  • Account deletion

🏪 Marketplace (marketplace.php)

  • Browse all products
  • Filter by category
  • Search products
  • Pagination for results

📂 Categories (categories.php)

  • Shop by product category
  • View category statistics
  • Featured products per category

⭐ Featured Shops (featured-shops.php)

  • Discover top-rated sellers
  • View shop profiles
  • Follow interesting shops

🔥 Trending Products (trending-products.php)

  • Most viewed products
  • Best-selling items
  • Trending categories

8. Admin Panel Features

Dashboard

  • System statistics overview
  • Recent inquiries display
  • User activity charts
  • Quick action buttons

Division Management

  • Add/Edit/Delete divisions
  • Manage division categories
  • Upload division icons
  • Set display order
  • Activate/Deactivate divisions

User Management

  • View all registered users
  • Add new users
  • Reset user passwords
  • Delete user accounts
  • Assign user roles

Inquiry Management

  • View contact form submissions
  • Change inquiry status (new/read/replied)
  • Reply to inquiries
  • Delete inquiries
  • Export inquiry data

Testimonials

  • Approve/Reject testimonials
  • Edit testimonial content
  • Manage ratings
  • Feature testimonials

Partners

  • Manage partner listings
  • Upload partner logos
  • Set partner categories
  • Link to partner websites

System Settings

  • Site name and tagline
  • Contact information
  • Social media links
  • Hero section settings
  • Email configuration
Admin Access: /admin/login.php

9. Technical Specifications

Database Schema

The platform uses the following main tables:

  • users - User accounts and authentication
  • businesses - Business/store information
  • products - Product listings
  • orders - Customer orders
  • divisions - Core service divisions
  • contact_inquiries - Contact form submissions
  • testimonials - Client reviews
  • wishlist - User saved items
  • business_messages - Chat system
  • user_settings - User preferences

Authentication System

  • Password hashing using bcrypt (password_hash())
  • Session-based authentication
  • "Remember Me" functionality with secure tokens
  • Password reset via email with expiring tokens
  • Role-based access control (RBAC)

Security Features

  • SQL injection prevention (PDO prepared statements)
  • XSS protection (htmlspecialchars)
  • CSRF protection (tokens recommended)
  • Secure session management
  • Input validation and sanitization
  • File upload validation (type, size)

Performance Optimizations

  • Database indexing on foreign keys
  • Asset caching with versioning
  • Lazy loading for images
  • Pagination for large datasets
  • Avoiding N+1 queries

10. API & AJAX Endpoints

Endpoint Method Description Response
/ajax/add-to-cart.php POST Add product to cart JSON
/ajax/get-cart-count.php GET Get cart item count JSON
/ajax/get-products.php GET Fetch business products JSON
/ajax/follow-business.php POST Follow/unfollow business JSON
/ajax/get-unread-count.php GET Get unread message count JSON
/fetch_cities.php GET Get cities by province HTML/JSON
/search.php GET Global search endpoint HTML
Note: All AJAX endpoints require appropriate authentication where applicable.

Getting Started Guide

For Regular Users

  1. Create an account
  2. Browse the marketplace to find products
  3. Add items to cart and checkout
  4. Track orders in My Purchases
  5. Save favorites to Wishlist
  6. Contact sellers via Messages

For Business Owners

  1. Create an account
  2. Create your business profile
  3. Wait for verification (or contact admin)
  4. Add products to your store
  5. Process orders from customers
  6. Respond to customer messages
  7. Track sales in your dashboard

For Admins

  1. Access Admin Panel
  2. Manage all divisions
  3. Review and respond to inquiries
  4. Manage user accounts
  5. Approve testimonials
  6. Configure system settings

Support & Resources