A comprehensive e-commerce solution for the WX Eclipse website builder platform. This plugin provides a complete online store management system with product catalog, order management, customer management, and analytics.
- Product Catalog: Create and manage products with detailed information
- Product Variants: Support for different sizes, colors, and options
- Inventory Tracking: Real-time stock management
- Categories & Collections: Organize products efficiently
- SEO Optimization: Built-in SEO fields for better search visibility
- Image Management: Drag & drop image uploads with preview
- Subscription Catalog: Create and manage subscription products
- Billing Cycles: Support for multiple billing cycles
- Order Processing: Complete order lifecycle management
- Order Status Tracking: Real-time status updates (pending, confirmed, shipped, delivered)
- Payment Status: Track payment states (pending, paid, refunded)
- Fulfillment Management: Handle shipping and delivery
- Order Details: Comprehensive order information and customer data
- Customer Profiles: Detailed customer information
- Address Management: Multiple shipping and billing addresses
- Order History: Track customer purchase history
- Marketing Preferences: Manage email marketing consent
- Customer Analytics: Spending patterns and behavior insights
- Sales Dashboard: Real-time sales metrics
- Revenue Tracking: Monthly and total revenue reports
- Top Products: Best-selling product analytics
- Customer Insights: Customer acquisition and retention metrics
- Conversion Tracking: Monitor store performance
- Discount Codes: Create percentage, fixed amount, and free shipping discounts
- Promotional Campaigns: Time-limited offers
- Customer Segmentation: Target specific customer groups
- Usage Limits: Control discount code usage
- Custom Pages: Create Custom Ecommerce pages
- Page Templates: Pre-built templates for different page types
- SEO Meta Tags: Optimize pages for search engines
- Content Editor: Rich text editing capabilities
- General Settings: Store name, description, currency, timezone
- Payment Integration: Stripe, PayPal, Cash on Delivery, Bank Transfer
- Shipping Configuration: Zones, rates, and free shipping thresholds
- Tax Management: Configurable tax rates
- Inventory Settings: Stock tracking and low stock alerts
- The plugin is included with WX Eclipse by default
- Navigate to the Plugins section in your WX Eclipse dashboard
- Activate the E-commerce plugin
- Configure your store settings
// Access the e-commerce dashboard from the sidebar- Go to Settings β General
- Set your store name, description, and currency
- Configure payment methods in Settings β Payments
- Set up shipping zones in Settings β Shipping
- Navigate to Products
- Click Add Product
- Fill in product details:
- Name and description
- Price and cost
- If it's a subscription, tick the "Is Subscription" checkbox
- Billing cycles (multiple allowed)
- SKU's will be required for each billing cycle
- Prices for each billing cycle along with compare at price
- SKU and inventory
- Category and tags
- Product images
Note: If you're using Stripe, product SKU's are required and must be tied to a Stripe product via the Stripe dashboard here. E.g "price_1234"
- Go to Pages
- The plugin automatically generates:
- Shop page (
/shop) - Product detail pages (
/products/{slug}) - Checkout (
/checkout)
- Shop page (
export type Product = {
type: 'product' | 'subscription';
id: string;
name: string;
description: string;
shortDescription: string;
price: number;
compareAtPrice?: number;
cost: number;
sku: string;
barcode?: string;
trackQuantity: boolean;
quantity: number;
weight: number;
weightUnit: 'kg' | 'lb' | 'oz' | 'g';
category: string;
tags: string[];
status: 'active' | 'draft' | 'archived';
productType: string;
images: string[];
variants: ProductVariant[];
seoTitle?: string;
seoDescription?: string;
createdAt: string;
updatedAt: string;
slug: string;
} & (
| {
type: 'subscription';
billingCycles: SubscriptionBillingCycle[];
}
| {
type: 'product';
}
);interface Subscription {
id: string;
name: string;
description: string;
price: number;
billingCycle: 'monthly' | 'annually' | 'biennially' | 'triennially';
status: 'active' | 'inactive';
createdAt: string;
updatedAt: string;
}
interface SubscriptionBillingCycle {
name: 'monthly' | 'annually' | 'biennially' | 'triennially';
price: number;
sku: string;
compareAtPrice?: number;
}interface Order {
id: string;
orderNumber: string;
customer: Customer;
items: OrderItem[];
subtotal: number;
tax: number;
shipping: number;
total: number;
status: 'pending' | 'confirmed' | 'shipped' | 'delivered' | 'cancelled';
// ... additional fields
}interface Customer {
id: string;
firstName: string;
lastName: string;
email: string;
phone?: string;
totalSpent: number;
ordersCount: number;
addresses: Address[];
// ... additional fields
}More documentation can be found in the API Reference.
The plugin provides several pre-built components for the WX builder:
- Product List (
wx-product-list): Display products in a grid layout - Product Detail (
wx-product-detail): Show individual product information - Checkout (
wx-checkout): Complete checkout process
The plugin uses CSS classes with the wx-ecom- prefix. Override these styles in your theme:
.wx-ecom-card {
/* Custom card styling */
}
.wx-ecom-button {
/* Custom button styling */
}
.wx-ecom-product-grid {
/* Custom product grid styling */
}const storeSettings: StoreSettings = {
storeName: 'My Store',
currency: 'USD',
enableInventoryTracking: true,
enableTaxes: true,
taxRate: 10,
// ... other settings
};- Stripe: Credit card processing
- PayPal: PayPal payments
- Cash on Delivery: Pay on delivery option
- Bank Transfer: Direct bank transfers
- Google Analytics: Website analytics
- Visitor Tracking: Visitor tracking
The plugin uses the WX Eclipse storage system:
- Data is stored using
useStoragehook - Automatic persistence across sessions
- Export/import capabilities
- Input validation on all forms
- XSS protection
- CSRF protection
- Secure payment processing
- Data encryption for sensitive information
- Lazy loading of product images
- Pagination for large product catalogs
- Optimized database queries
- Caching for frequently accessed data
- Chrome 70+
- Firefox 65+
- Safari 12+
- Edge 79+
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
For support and questions:
- Documentation: WX Eclipse Docs
- Issues: GitHub Issues
- Community: Discord Server
This plugin is part of the WX Eclipse project and follows the same license terms.
- Initial release
- Complete e-commerce functionality
- Product, order, and customer management
- Analytics dashboard
- Payment integrations
- Marketing tools
Made with β€οΈ by the WX Eclipse team