How mekkumar/module-commerce-intelligence works
Kumar Commerce Intelligence is a Magento 2 admin dashboard module. An administrator opens the dashboard, selects a reporting period, and views order-derived KPIs and visual summaries; dedicated admin routes provide additional intelligence sections. The sampled dashboard block queries Magento orders and computes period comparisons, trends, customer mix, payment distribution, products, peak hours, and status counts. README-listed inventory, marketing, and insight interfaces exist, but the README says measured values for several of these are not yet implemented. Unsampled layout wiring is not asserted.
Main entry points: section.phtml Section page · dashboard.phtml Dashboard UI · Dashboard.php Order analytics · Index.php Checkout section
Components 24
Dashboard analytics
- Order analytics
Block/Adminhtml/Dashboard.php - Dashboard UI
view/adminhtml/templates/dashboard.phtml - Revenue trend
view/adminhtml/templates/dashboard.phtml - KPI cards
view/adminhtml/templates/dashboard.phtml - Payment distribution
view/adminhtml/templates/dashboard.phtml - Hero products
view/adminhtml/templates/dashboard.phtml - Peak hours
view/adminhtml/templates/dashboard.phtml - Order statuses
view/adminhtml/templates/dashboard.phtml
Intelligence sections
- Section page
view/adminhtml/templates/section.phtml - Checkout section
Controller/Adminhtml/Checkout/Index.php - Customers section
Controller/Adminhtml/Customers/Index.php - Inventory section
Controller/Adminhtml/Inventory/Index.php - Marketing section
Controller/Adminhtml/Marketing/Index.php - Insights section
Controller/Adminhtml/Insights/Index.php - Orders section
Controller/Adminhtml/Orders/Index.php - Payments section
Controller/Adminhtml/Payments/Index.php - Products section
Controller/Adminhtml/Products/Index.php - Sales section
Controller/Adminhtml/Sales/Index.php - Stores section
Controller/Adminhtml/Stores/Index.php
Admin navigation
- Dashboard route
Controller/Adminhtml/Dashboard/Index.php
Configuration
- Store settings
Model/Config.php - Period options
Model/Config/Source/Period.php
Other components
- Administrator
- Magento orders
Connections 31
- Administrator → Dashboard route: opens
README.md - Administrator → Checkout section: opens
README.md - Administrator → Customers section: opens
README.md - Administrator → Inventory section: opens
README.md - Administrator → Marketing section: opens
README.md - Administrator → Insights section: opens
README.md - Administrator → Orders section: opens
README.md - Administrator → Payments section: opens
README.md - Administrator → Products section: opens
README.md - Administrator → Sales section: opens
README.md - Administrator → Stores section: opens
README.md - Dashboard route → Order analytics: renders
Controller/Adminhtml/Dashboard/Index.php - Order analytics → Magento orders: queries
Block/Adminhtml/Dashboard.php - Order analytics → Dashboard UI: supplies data
- Dashboard UI → KPI cards: shows
README.md - Dashboard UI → Revenue trend: shows
README.md - Dashboard UI → Payment distribution: shows
README.md - Dashboard UI → Hero products: shows
README.md - Dashboard UI → Peak hours: shows
README.md - Dashboard UI → Order statuses: shows
README.md - Checkout section → Section page: renders
- Customers section → Section page: renders
- Inventory section → Section page: renders
- Marketing section → Section page: renders
- Insights section → Section page: renders
- Orders section → Section page: renders
- Payments section → Section page: renders
- Products section → Section page: renders
- Sales section → Section page: renders
- Stores section → Section page: renders
- Store settings → Period options: uses options
Model/Config/Source/Period.php