feat: Streamline settings and document addon support strategy
## 1. Eliminate Unnecessary Settings Tabs ✅ **Before:** 13 tabs (too many!) **After:** 9 tabs (clean, focused) **Removed:** - ❌ Advanced (just redirected to WC Admin) - ❌ Integrations (just redirected to WC Admin) - ❌ System Status (just redirected to WC Admin) - ❌ Extensions (just redirected to WC Admin) **Kept:** - ✅ WooNooW (main settings) - ✅ Store Details - ✅ Payments (simplified WC UI) - ✅ Shipping & Delivery (simplified WC UI) - ✅ Tax (simplified WC UI) - ✅ Checkout - ✅ Customer Accounts - ✅ Notifications - ✅ Brand & Appearance **Rationale:** - Bridge tabs add clutter without value - Users can access WC settings from WC menu - Keep only WooNooW simplified UI - Match Shopify/marketplace patterns --- ## 2. Settings Pages Implementation Plan ✅ Created SETTINGS_PAGES_PLAN.md with detailed specs for 4 missing pages: ### A. WooNooW Settings - General settings (SPA mode, theme, items per page) - Performance (caching, preload) - Features (quick edit, bulk actions, shortcuts) - Developer (debug mode, API logs) ### B. Checkout Settings - Checkout options (guest checkout, account creation) - Checkout fields (company, address, phone) - Terms & conditions - Order processing (default status, auto-complete) ### C. Customer Accounts Settings - Account creation (registration, username/password generation) - Account security (strong passwords, 2FA) - Privacy (data removal, export, retention) - Account dashboard (orders, downloads, addresses) ### D. Brand & Appearance Settings - Store identity (logo, icon, tagline) - Brand colors (primary, secondary, accent) - Typography (fonts, sizes) - Admin UI (sidebar, breadcrumbs, compact mode) - Custom CSS **Timeline:** 3 weeks **Priority:** High (WooNooW, Checkout), Medium (Customers), Low (Brand) --- ## 3. Community Addon Support Strategy ✅ Updated PROJECT_BRIEF.md with three-tier addon support model: ### **Tier A: Automatic Integration** ✅ - Addons respecting WooCommerce bone work automatically - Payment gateways extending WC_Payment_Gateway - Shipping methods extending WC_Shipping_Method - HPOS-compatible plugins - **Result:** Zero configuration needed ### **Tier B: Bridge Snippets** 🌉 - For addons with custom injection - Provide bridge code snippets - Community-contributed bridges - Documentation and examples - **Philosophy:** Help users leverage ALL WC addons ### **Tier C: Essential WooNooW Addons** ⚡ - Build only critical/essential features - Indonesia Shipping, Advanced Reports, etc. - NOT rebuilding generic features - **Goal:** Save energy, focus on core **Key Principle:** > "We use WooCommerce, not PremiumNooW as WooCommerce Alternative. We must take the irreplaceable strength of the WooCommerce community." **Benefits:** - Leverage 10,000+ WooCommerce plugins - Avoid rebuilding everything - Focus on core experience - No vendor lock-in --- ## Summary **Settings:** 13 tabs → 9 tabs (cleaner, focused) **Plan:** Detailed implementation for 4 missing pages **Strategy:** Three-tier addon support (auto, bridge, essential) **Philosophy:** Simplify, leverage ecosystem, build only essentials.
This commit is contained in:
113
PROJECT_BRIEF.md
113
PROJECT_BRIEF.md
@@ -82,8 +82,119 @@ WooNooW settings act as a **"better wardrobe"** for WooCommerce configuration:
|
||||
|
||||
---
|
||||
|
||||
## 6. Strategic Goal
|
||||
## 6. Community Addon Support Strategy
|
||||
|
||||
WooNooW leverages the irreplaceable strength of the WooCommerce ecosystem through a three-tier support model:
|
||||
|
||||
### **Tier A: Automatic Integration** ✅
|
||||
**Addons that respect WooCommerce bone structure work automatically.**
|
||||
|
||||
- Payment gateways extending `WC_Payment_Gateway`
|
||||
- Shipping methods extending `WC_Shipping_Method`
|
||||
- Plugins using WooCommerce hooks and filters
|
||||
- HPOS-compatible plugins
|
||||
|
||||
**Examples:**
|
||||
- Stripe for WooCommerce
|
||||
- WooCommerce Subscriptions
|
||||
- WooCommerce Bookings
|
||||
- Any plugin following WooCommerce standards
|
||||
|
||||
**Result:** Zero configuration needed. If it works in WooCommerce, it works in WooNooW.
|
||||
|
||||
---
|
||||
|
||||
### **Tier B: Bridge Snippets** 🌉
|
||||
**For addons with custom injection that partially or fully don't integrate.**
|
||||
|
||||
We provide bridge snippet code to help users connect non-standard addons:
|
||||
|
||||
**Use Cases:**
|
||||
- Addons that inject custom fields via JavaScript
|
||||
- Addons that bypass WooCommerce hooks
|
||||
- Addons with custom session management (e.g., Rajaongkir)
|
||||
- Addons with proprietary UI injection
|
||||
|
||||
**Approach:**
|
||||
```php
|
||||
// Bridge snippet example
|
||||
add_filter('woonoow_before_shipping_calculate', function($data) {
|
||||
// Convert WooNooW data to addon format
|
||||
if ($data['country'] === 'ID') {
|
||||
CustomAddon::set_session_data($data);
|
||||
}
|
||||
return $data;
|
||||
});
|
||||
```
|
||||
|
||||
**Distribution:**
|
||||
- Documentation with code snippets
|
||||
- Community-contributed bridges
|
||||
- Optional bridge plugin packages
|
||||
|
||||
**Philosophy:** We help users leverage ALL WooCommerce addons, not rebuild them.
|
||||
|
||||
---
|
||||
|
||||
### **Tier C: Essential WooNooW Addons** ⚡
|
||||
**We build our own addons only for critical/essential features.**
|
||||
|
||||
**Criteria for building:**
|
||||
- ✅ Essential for store operations
|
||||
- ✅ Significantly enhances WooCommerce
|
||||
- ✅ Provides unique value in WooNooW context
|
||||
- ✅ Cannot be adequately bridged
|
||||
|
||||
**Examples:**
|
||||
- WooNooW Indonesia Shipping (Rajaongkir, Biteship integration)
|
||||
- WooNooW Advanced Reports
|
||||
- WooNooW Inventory Management
|
||||
- WooNooW Multi-Currency
|
||||
|
||||
**NOT building:**
|
||||
- Generic features already available in WooCommerce ecosystem
|
||||
- Features that can be bridged
|
||||
- Niche functionality with low demand
|
||||
|
||||
**Goal:** Save energy, focus on core experience, leverage community strength.
|
||||
|
||||
---
|
||||
|
||||
### **Why This Approach?**
|
||||
|
||||
**Leverage WooCommerce Ecosystem:**
|
||||
- 10,000+ plugins available
|
||||
- Proven, tested solutions
|
||||
- Active community support
|
||||
- Regular updates and maintenance
|
||||
|
||||
**Avoid Rebuilding Everything:**
|
||||
- Save development time
|
||||
- Focus on core WooNooW experience
|
||||
- Let specialists maintain their domains
|
||||
- Reduce maintenance burden
|
||||
|
||||
**Provide Flexibility:**
|
||||
- Users choose their preferred addons
|
||||
- Bridge pattern for edge cases
|
||||
- Essential addons for critical needs
|
||||
- No vendor lock-in
|
||||
|
||||
**Community Strength:**
|
||||
> "We use WooCommerce, not PremiumNooW as WooCommerce Alternative. We must take the irreplaceable strength of the WooCommerce community."
|
||||
|
||||
---
|
||||
|
||||
## 7. Strategic Goal
|
||||
|
||||
Position WooNooW as the **"WooCommerce for Now"** — a paid addon that delivers the speed and UX of modern SaaS platforms while retaining the ecosystem power and self‑hosted freedom of WooCommerce.
|
||||
|
||||
**Key Differentiators:**
|
||||
- ⚡ Lightning-fast performance
|
||||
- 🎨 Modern, intuitive UI
|
||||
- 🔌 Full WooCommerce ecosystem compatibility
|
||||
- 🌉 Bridge support for any addon
|
||||
- ⚙️ Essential addons for critical features
|
||||
- 🚀 No data migration needed
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user