refactor: Migrate documentation content, rebuild UI components, and update core architecture.

This commit is contained in:
gitfromwildan
2026-03-10 01:38:58 +07:00
parent aac81dff8a
commit ab755844a3
132 changed files with 3947 additions and 12862 deletions

33
docs/store/customers.mdx Normal file
View File

@@ -0,0 +1,33 @@
---
title: Customers
description: VIP classification and metrics.
---
Know who buys from you.
## Customer Overview
Navigate to **Store > Customers** to view your customer database. The table provides a quick view of:
- **Name & Email**: Contact details.
- **Total Spend**: Lifetime value of the customer.
- **Orders**: Number of orders placed.
- **Last Seen**: Date of last activity.
## VIP Classification
WooNooW automatically tags customers based on their spending habits to help you identify high-value clients.
### Tiers
- **VIP**: Customers whose total spend exceeds the VIP threshold (configurable in Settings). These are your top 1% or 5% of customers.
- **Recurring**: Customers who have placed more than one order but haven't reached VIP status yet.
- **New**: Customers with only a single purchase.
- **At Risk**: High-value customers who haven't purchased in a long time (e.g., > 90 days).
## Actions
Click on a customer to view their detailed profile, including:
- **Order History**: Full list of past purchases.
- **Notes**: Private admin notes about the customer.
- **Edit Details**: Update shipping/billing addresses manually.
### Segmentation
You can use these classifications to segment your [Newsletter](/docs/marketing/newsletter) campaigns. For example, send a special "Thank You" coupon exclusively to your **VIP** segment.

14
docs/store/index.mdx Normal file
View File

@@ -0,0 +1,14 @@
---
title: Store Management
description: Manage your daily operations.
---
The Store Management section allows you to handle day-to-day operations efficiently.
## Sections
* **[Orders](/docs/store/orders)**: View and process customer orders with a modern interface.
* **[My Customers](/docs/store/customers)**: Manage your customer base and assign VIP statuses.
* **[Products](/docs/store/products)**: Quick overview and management of your catalog.

18
docs/store/orders.mdx Normal file
View File

@@ -0,0 +1,18 @@
---
title: Orders
description: Processing transactions.
---
View and manage orders in **Store Management > Orders**.
## The Order Table
A modern, real-time view of your sales.
* **Status Filters**: Quickly see what needs processing.
* **Quick Actions**: Print invoices or mark as shipped directly from the list.
## Order Details
Clicking an order reveals the deep dive view:
* **Timeline**: See exactly when payment happened and emails were sent.
* **Edit Items**: Modify the order contents before fulfillment.

17
docs/store/products.mdx Normal file
View File

@@ -0,0 +1,17 @@
---
title: Products
description: Managing your catalog.
---
WooNooW enhances the standard WooCommerce product management.
## Quick Edit
Update prices and stock levels directly from the list view without opening each product.
## Types
We support all standard types:
* **Simple Product**
* **Variable Product**
* **Digital/Downloadable**

View File

@@ -0,0 +1,48 @@
---
title: Subscriptions Guide
description: Configuring and managing recurring payments.
---
WooNooW's Subscriptions module seamlessly integrates with your store, enabling recurring revenue streams for your products or services.
## Setup Requirements
To use Subscriptions, ensure:
1. The **Subscriptions** module is toggled ON under **WooNooW > Settings > Modules**.
2. Your payment gateway supports tokenization / recurring payments (e.g., Stripe, PayPal).
## Creating a Subscription Product
1. Go to **Products > Add New** in WordPress.
2. In the Product Data dropdown, select **Simple Subscription** or **Variable Subscription**.
3. Configure the billing schedule:
- **Subscription Price:** The recurring amount (e.g., $15).
- **Billing Interval/Period:** How often they are charged (e.g., every 1 month).
- **Expire After:** When the subscription automatically ends (leave empty for "Never expire").
- **Sign-up Fee:** Optional one-time fee added to the first payment.
- **Free Trial:** Offer an initial period at no cost (e.g., 14 days).
4. Publish the product.
## Managing Subscriptions (Admin)
Store owners can view and manage all active, paused, or cancelled subscriptions directly from the Admin SPA.
1. Navigate to **Store > Subscriptions**.
2. Click on any Subscription ID to view details.
3. From the detail view, you can:
- **Pause** an active subscription.
- **Cancel** a subscription.
- **Change Next Payment Date**.
- **Process Renewal** manually.
## Customer Experience
When a customer purchases a subscription, they gain access to a self-service dashboard in their account:
1. Customers navigate to **My Account > Subscriptions**.
2. They can view the status, next payment date, and associated orders.
3. They have full autonomy to actions like **Pause**, **Resume**, or **Cancel** their own subscriptions based on the permissions you configure in the module settings.
4. If a payment fails, customers will see a clear **Pay Now** button to update their billing details.
## Automated Emails
The notification system automatically handles subscription lifecycle events:
- **New Subscription:** Welcome email for the recurring plan.
- **Renewal:** Receipt for a successful periodic charge.
- **Failed Renewal:** Action required notification to update payment info.
- **Cancelled/Expired:** Confirmation of plan termination.
You can customize these templates under **Settings > Notifications**.