A WooCommerce theme built on the Pollora framework, featuring Tailwind CSS v4 and Alpine.js.
- PHP 8.1+
- WordPress 6.0+
- Pollora framework
- WooCommerce 8.0+
- Node.js 18+ (for asset compilation)
The theme must be installed within a Pollora project.
# Install Node dependencies
npm install
# Build production assets
npm run build# Start Vite dev server with HMR
npm run devThe Vite dev server auto-detects DDEV/Docker environments for proper HMR configuration.
%theme_name%/
├── app/ # PHP application logic
│ ├── Cms/ # WordPress CMS integrations
│ ├── Providers/ # Laravel service providers
│ ├── Walkers/ # Custom menu walkers
│ └── inc/ # Hooks, helpers, WooCommerce customizations
├── config/ # Theme configuration (menus, sidebars, supports, WooCommerce)
├── resources/
│ ├── assets/ # CSS, JavaScript, fonts, images
│ └── views/ # Blade templates (128 files)
│ └── woocommerce/ # Full WooCommerce template overrides
├── languages/ # Translations (text domain: %theme_name%)
├── theme.json # WordPress design tokens (generated by Vite)
├── vite.config.js # Build configuration
└── routes.php # Theme routes (optional)
- WooCommerce: Complete template coverage (cart, checkout, my account, orders, product pages)
- Tailwind CSS v4: Design tokens synced with WordPress
theme.json - Alpine.js: Lightweight interactivity (menus, modals, cart slide-over)
- Blade templates: 128 views with component support
- 11 menu locations: Header, footer, mobile, account, and more
- Accessibility: Semantic HTML, ARIA labels, keyboard navigation
- i18n: Fully translatable (French included)
All theme behavior is driven by config files in config/:
| File | Purpose |
|---|---|
admin.php |
WordPress admin customization |
disable.php |
Disable unnecessary WP features |
gutenberg.php |
Block editor categories |
images.php |
Custom image sizes |
menus.php |
Menu locations |
providers.php |
Additional service providers |
sidebars.php |
Widget areas |
supports.php |
Theme supports (thumbnails, WooCommerce, etc.) |
templates.php |
Custom page templates |
woocommerce.php |
Product grid classes, icons, checkout layout |
GPL-2.0-or-later