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/bird-ie/wordpress-affiliate-management-plugin/archive/refs/heads/main.zipCustom WordPress Affiliate Management System
A custom-built WordPress plugin that extends WooCommerce with affiliate management functionality, referral tracking workflows, coupon integration, affiliate dashboards, administrative tools, and payout management.
Developed using PHP and WordPress APIs, with a modular structure designed to keep features organized and maintainable.
Features
- Affiliate Management: Administrative tools for managing affiliate accounts and program activity.
- WooCommerce Integration: Affiliate functionality integrated with WooCommerce.
- Affiliate Dashboards: Frontend interfaces for affiliate-related activities.
- Referral and Coupon Workflows: Support for affiliate referral and coupon-related functionality.
- Order Management: Custom tools for viewing and managing affiliate-related orders.
- Payout Management: Administrative tools for managing and processing affiliate payouts.
- User Management: Tools for managing affiliate users and account-related workflows.
- Frontend Shortcodes: Reusable shortcode-based interfaces for frontend pages.
- Custom Database Functionality: Dedicated database and core logic components.
- Modular Architecture: Separate PHP files for individual features and administrative workflows.
Technology Stack
- WordPress
- PHP
- WooCommerce
- MySQL
- WordPress APIs and hooks
- Git and GitHub
Project Structure
wordpress-affiliate-management-plugin/
├── retaeu-affiliate.php
├── includes/
│ ├── class-db.php
│ ├── admin-affiliates.php
│ ├── admin-manage-users.php
│ ├── admin-orders.php
│ ├── admin-reassign-box.php
│ ├── admin-selective-payout.php
│ ├── frontend-shortcodes.php
│ ├── my-account-banner.php
│ ├── shortcode-login-page.php
│ ├── shortcode-partner-page.php
│ └── shortcode-share.php
└── .gitignore
Requirements
- WordPress 6.0 or later
- PHP 7.4 or later
- WooCommerce installed and active
Note: These are the minimum requirements declared by the plugin. Test compatibility with current WordPress, PHP, and WooCommerce versions before deploying to production.
Installation
- Download or clone this repository.
- Place the plugin folder inside your WordPress installation's
wp-content/plugins/directory. - Ensure WooCommerce is installed and active.
- Activate the plugin through the WordPress administration dashboard.
- Test the plugin's frontend and administrative functionality in a staging environment before using it on a live website.
Development Notes
The plugin uses a main loader file to initialize its functionality and load individual modules from the includes/ directory.
The code is organized into separate files for core database functionality, frontend shortcodes, affiliate administration, order management, user management, and payout-related workflows.
Security and Production Readiness
Before production deployment, review permissions and capability checks, input validation, output escaping, nonce verification, database query safety, authentication flows, and payout-related operations.
Use a staging environment and test critical WooCommerce workflows before deploying changes to a live store.
License
No open-source license has been specified yet. All rights and permitted uses remain subject to the applicable ownership and licensing terms unless a license is added to this repository.