Skip to main content

Flavor Starter Theme

The Flavor Starter Theme is a modern, headless-first WordPress theme designed specifically for the WP eCommerce Core Plugin.

Key Features

  • Visual Page Builder — Drag-and-drop page building with React-powered blocks
  • Translation System — Built-in flavor_t() / flavor_te() functions for multilingual UI
  • 37+ Modules — Modular architecture with toggleable features
  • React Storefront — Fast, SPA-like shopping experience with Vite + React
  • Debug System — Built-in debugging tools for development
  • Dark Mode — Native dark mode support
  • Fully Responsive — Mobile-first design

Architecture

The theme uses Domain-Driven Design (DDD) with a layered architecture:

flavor-starter/
├── inc/core/ # Bootstrap, DI Container, helpers
├── inc/modules/ # Module Manager + all modules
├── inc/translations/ # Translation system
├── react-app/ # Vite + React storefront
└── templates/ # PHP templates (fallback)

Module System

Modules can be enabled/disabled from Appearance → Flavor Options → Modules. Each module is self-contained with its own settings, assets, and functionality.

Categories include:

  • Core — Essential functionality (header, footer, shop, cart)
  • Enhancement — Additional features (wishlist, compare, quick view)
  • Integration — Third-party connections (analytics, social media)
  • Developer — Development tools (debug, performance)

See Modules for the full list and configuration options.