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/opspj007/wordpress-multivendor-marketplace/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Production-oriented WooCommerce multivendor marketplace foundation for WordPress.
Highlights
- Vendor registration and approval workflow
- Vendor role and capability foundation
- Vendor store slugs
- WooCommerce product ownership
- Vendor product management foundation
- Commission ledger
- Vendor balance calculation
- Payout request workflow
- Admin vendor management
- REST API
- WordPress nonce/authentication
- Prepared SQL queries
- Dedicated marketplace database tables
- Shortcodes for registration, dashboard and vendor store
- WooCommerce integration
Requirements
- WordPress 6.4+
- PHP 8.1+
- WooCommerce 8.0+
Installation
- Upload
wordpress-multivendor-marketplacetowp-content/plugins/. - Activate the plugin.
- Install and activate WooCommerce.
- Create pages containing:
[mvm_vendor_registration]
[mvm_vendor_dashboard]
[mvm_vendor_store vendor="store-slug"]
- Vendors register through the frontend.
- Administrators approve vendors from Marketplace → Vendors.
- Products can be assigned to a vendor from the WooCommerce product editor.
REST API
Base:
/wp-json/wp-mvm/v1/
Endpoints:
POST /vendors/registerGET /vendor/meGET /vendor/productsPOST /vendor/payoutPOST /admin/vendors/{id}/status
Authenticated WordPress users use the standard WordPress nonce/session mechanism.
Database
Tables:
wp_mvm_vendorswp_mvm_commissionswp_mvm_payouts
Engineering notes
This repository intentionally separates vendor, commission, payout, REST, installer and admin responsibilities. SQL uses $wpdb->prepare() where dynamic values are involved. User input is sanitized and output is escaped.
For a full production deployment, add:
- Automated tests
- HPOS-compatible WooCommerce order handling
- Refund/reversal commission logic
- Tax/VAT handling
- Payment-provider payout adapters
- Vendor order filtering
- Vendor product CRUD UI
- Capability matrix
- Audit logs
- Rate limiting
- Background payout processing
- Webhook verification
- CI/CD
- Static analysis with PHPStan
- WordPress Coding Standards
- PHPUnit integration tests