Skip to main content

Overview

The admin dashboard is your command center for monitoring and managing the entire Ecom e-commerce platform. It provides real-time insights into sales, products, categories, and overall platform performance.

Accessing the Dashboard

1

Navigate to Admin Panel

Log in to your admin account and you’ll be automatically directed to the dashboard at /admin
2

Review Dashboard Metrics

The dashboard displays key performance indicators including:
  • Total sales by category
  • Product quantity in stock
  • Category-wise analytics
  • Recent activity overview

Dashboard Components

Sales Analytics Graph

The dashboard features an interactive graph showing:
  • Number of Sales Data: Tracks total sales per root category
  • Quantity Data: Displays stock quantities across categories
  • Category Performance: Visual comparison of category sales
The graph data is cached for 24 hours to improve performance. Use the cache clear function if you need to see immediate updates.

Category Overview

View all root-level categories (categories with level = 0) and their performance metrics:
  • Total products in each category
  • Sales volume
  • Stock levels across all product variants

Key Functions

Clear Cache

The dashboard includes a cache management tool to optimize platform performance.
1

Locate Clear Cache Option

Find the “Clear Cache” button in the dashboard settings or utility menuScreenshot Description: Settings dropdown menu with “Clear Cache” option highlighted
2

Execute Cache Clear

Click the button to run optimize:clear command
3

Confirm Success

A success message will appear: “Cache cleared successfully”
Clear the cache after:
  • Updating business settings
  • Adding new products or categories
  • Modifying payment configurations
  • Making significant platform changes

Dashboard Performance

Data Caching

The dashboard uses intelligent caching to ensure fast load times:
  • Graph data is cached for 86400 seconds (24 hours)
  • Cache key: cached_graph_data
  • Automatically refreshes daily

Performance Optimization

The dashboard automatically initializes the core component repository cache on each load to ensure optimal performance across the platform.

Best Practices

  1. Regular Monitoring: Check the dashboard daily to track platform performance
  2. Cache Management: Clear cache after major updates
  3. Category Analysis: Use category-wise data to identify top performers
  4. Stock Monitoring: Keep track of quantity data to prevent stockouts

Build docs developers (and LLMs) love