Salloq Logo

Admin Interface Documentation

Comprehensive guide to the Salloq ecommerce admin dashboard and management modules.

Overview

The Salloq admin dashboard provides a centralized interface for managing all aspects of your ecommerce platform.

Key Features
  • 14 management modules
  • Real-time appointment tracking
  • Upsell analytics dashboard
  • API key management
  • IndexNow SEO integration
  • Comprehensive CMS
Security
  • Session-based authentication
  • PDO prepared statements
  • HTML output sanitization
  • Role-based access control

Management Modules

The dashboard provides access to 14 core management modules:

ORDERS 🛒 Orders Management

Purpose: Central hub for processing orders, updating statuses, and handling customer purchases.

Key Features:
  • View all orders with filtering and search
  • Update order statuses
  • Process refunds and cancellations
  • View detailed order information
  • Print packing slips and invoices

CUSTOMERS 👥 Customer Management

Purpose: View and edit customer information, account details, and purchase history.

Key Features:
  • Customer database with search
  • View purchase history
  • Edit customer details
  • Manage loyalty points
  • View subscriptions

PRODUCTS 📦 Product Management

Purpose: Complete product catalog management including creation, editing, pricing, and inventory.

Capabilities:
  • Add/edit/delete products
  • Manage product images
  • Set pricing and inventory
  • Configure product variants
  • SEO slug management
  • Product descriptions

ORGANIZATION 📂 Category Management

Purpose: Create and manage product categories for site navigation and organization.

CONFIG 🚚 Shipping Configuration

Purpose: Configure shipping methods, rates, and delivery rules.

Settings:
  • Shipping zones and rates
  • Free shipping thresholds
  • Carrier integrations
  • Handling fees

CONFIG 💰 Sales Tax Management

Purpose: Manage tax rates and rules for different jurisdictions.

MARKETING 🎟 Discount & Promo Codes

Purpose: Create and manage promotional codes, discount rules, and special offers.

Features:
  • Percentage and fixed-amount discounts
  • Date range restrictions
  • Minimum order requirements
  • Usage limits per customer
  • Product/category restrictions

MARKETING 📩 Newsletter Subscribers

Purpose: Manage email subscriber list for marketing communications.

ACCESS 🔑 Admin User Management

Purpose: Control admin user accounts and access permissions.

CONTENT ⭐ Product Reviews

Purpose: Moderate and manage customer product reviews.

Moderation Tools:
  • Approve/reject reviews
  • Edit review content
  • Flag inappropriate content
  • Respond to customer feedback

CONTENT 📝 Content Management System

Purpose: Comprehensive content management for website pages and media.

CMS Features:
  • WYSIWYG Editor: Visual page editing with TinyMCE
  • Draft/Review/Publish: Content approval workflow
  • Template Management: Create and customize page templates
  • Image Management: Upload and organize media files
  • Theme Customization: Edit colors, fonts, and styles
  • Version History: Track changes and rollback
Pro Tip: The CMS allows non-technical users to edit website content without touching code.

Dashboard Widgets

The dashboard includes three specialized widgets for real-time business insights:

📅 Appointment/Reservations Dashboard Widget

Tracks appointments with real-time statistics.

Display Statistics
Metric Description
Pending Appointments awaiting review
Today Classes scheduled for today
This Week Classes scheduled this week
Upcoming Appointments Display

Shows the next 3 upcoming appointments with:

  • Customer name
  • Date and time (formatted as "M j at g:i A")
  • Number of persons
  • Status badge (color-coded)
  • Today's appointments highlighted
Quick Actions
  • Review Alert: Direct link to pending appointments
  • View Calendar:Direct link to calendar application

💰 Upsell Analytics Widget

Tracks customer savings from upsell pricing (subscription discounts, bundle pricing, etc.).

Metric: Upsell Savings Today

Total dollar amount customers saved by purchasing at discounted prices.

Exclusions
  • Ship protect (SKU: 111112)
  • Gift cards (SKU: 111113)
  • Subscription items (tracked separately)

🔑 API Access Widget

Displays API key statistics and recent activity.

Metrics

Total Keys

All API keys

Active Keys

Status = 'active'

Used Today

Last 24 hours
Recent Activity

Shows last 3 API keys used with:

  • Key name
  • Relative timestamp (e.g., "Just now", "5 min ago")
Quick Actions
  • Create API Key:
  • View API Docs:
  • Manage All Keys:

IndexNow Integration

Automated search engine indexing via IndexNow protocol.

Configuration
API Key xxxxxxxxxxxxxxxxxxxxxxxxxxx
Endpoint https://api.indexnow.org/indexnow
Site URL From $_SESSION['site_url'] or $baseUrl
Functionality
  1. Collects all indexable URLs:
    • Site homepage
    • Collection page
    • All product pages (from products.slug)
  2. Submits to IndexNow API endpoint
  3. Provides success/failure feedback
Submission Format
{
  "host": "example.com",
  "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "urlList": [
    "https://example.com",
    "https://example.com/collection.php",
    "https://example.com/product.php?product"
  ]
}
Trigger

Form submission with name="run_indexnow"

Note: URL encoding is applied to product slugs in query strings.