Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/samratemily/x-woo-feartures/archive/refs/heads/develop.zipX Woo Features
A comprehensive WooCommerce extension plugin that adds advanced features to enhance your e-commerce store functionality.
Description
X Woo Features extends WooCommerce with powerful features including checkout protection with Cloudflare Turnstile, custom user dashboards, enhanced product management, and improved customer experience tools.
Features
🔒 Checkout Protection
- Cloudflare Turnstile Integration: Advanced CAPTCHA protection for checkout process
- Configurable Settings: Enable/disable CAPTCHA and manage site/secret keys through WooCommerce settings
- Payment Method Filtering: Skip CAPTCHA for specific payment methods (configurable)
- Server-side Validation: Secure token verification with Cloudflare's API
📊 Custom User Dashboard
- Frontend Dashboard: Complete user dashboard accessible at
/dashboard/ - Multi-page Navigation: Dashboard, Products, Orders, and Settings pages
- User Management: Profile editing, account settings, and quick stats
- Responsive Design: Mobile-friendly layout with modern UI
- Shortcode Support:
[x_dashboard]shortcode for embedding dashboard widgets
🛍️ Enhanced Product Management
- Order Information Page: Custom "Order Information" tab in WooCommerce My Account
- Product History: Display previously ordered products with reorder functionality
- Visual Product Grid: Enhanced product display with images, prices, and stock status
- Quick Actions: Add to cart and view product buttons for easy reordering
⚙️ WooCommerce Integration
- Settings Integration: Adds custom sections to WooCommerce Advanced settings
- Admin Pages: Custom admin pages integrated with WooCommerce admin
- Rewrite Rules: Custom URL endpoints for enhanced functionality
- Asset Management: Organized CSS/JS assets for admin and frontend
🎨 User Interface
- Modern Design: Clean, professional interface with consistent styling
- Dashboard Widgets: Quick stats, recent activity, and action buttons
- Navigation Menu: Intuitive sidebar navigation with icons
- Form Handling: Secure form processing with nonce verification
Installation
- Upload the plugin files to
/wp-content/plugins/x-woo-feartures/ - Activate the plugin through the 'Plugins' screen in WordPress
- Configure settings in WooCommerce > Settings > Advanced > Captcha
- Set up Cloudflare Turnstile keys for checkout protection
Requirements
- WordPress 5.0 or higher
- WooCommerce 5.0.0 or higher
- PHP 7.4 or higher
Configuration
Checkout Protection Setup
- Go to WooCommerce > Settings > Advanced > Captcha
- Enable "Require captcha on checkout"
- Add your Cloudflare Turnstile Site Key
- Add your Cloudflare Turnstile Secret Key
Dashboard Access
- Users can access their dashboard at
yoursite.com/dashboard/ - Dashboard includes: Overview, Products, Orders, and Settings
- Use
[x_dashboard]shortcode to embed dashboard widgets anywhere
File Structure
x-woo-feartures/
├── assets/
│ ├── admin/ # Admin CSS/JS files
│ └── public/ # Frontend CSS/JS files
├── includes/
│ ├── Assets.php # Asset management
│ ├── CheckoutProtection.php # CAPTCHA functionality
│ ├── Dashboard.php # User dashboard system
│ ├── ProductList.php # Order information features
│ ├── WooSettings.php # Settings integration
│ └── XWooFeartures.php # Main plugin class
├── templates/ # Template files
└── vendor/ # Composer dependencies
Development
For Development Environment
Run the following command for development environment:
composer update
For Production Environment
Run the following command for production environment to ignore dev dependencies:
composer update --no-dev
Build Release
Set execution permission to the script file and run:
chmod +x bin/build.sh
bin/build.sh
Hooks and Filters
Actions
x_woo_feartures_loaded- Fired when plugin is fully loadedwoocommerce_account_order-information_endpoint- Custom account endpoint
Filters
wccp_payment_methods_to_skip- Skip CAPTCHA for specific payment methodsx-woo-feartures_template- Filter template file paths
Changelog
Version 0.0.1
- Initial release
- Cloudflare Turnstile checkout protection
- Custom user dashboard system
- Enhanced order information display
- WooCommerce settings integration
Support
For support and feature requests, please contact the development team.
License
This plugin is licensed under GPL2.