WP Manifestindependent plugin directory
manifest / ecommerce / wordpress-multivendor-marketplace

WordPress Multivendor Marketplace

WordPress-Multivendor-Marketplace

★ 1stars

Install

Download source zip No release zip yet

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.zip
No 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

  1. Upload wordpress-multivendor-marketplace to wp-content/plugins/.
  2. Activate the plugin.
  3. Install and activate WooCommerce.
  4. Create pages containing:
[mvm_vendor_registration]
[mvm_vendor_dashboard]
[mvm_vendor_store vendor="store-slug"]
  1. Vendors register through the frontend.
  2. Administrators approve vendors from Marketplace → Vendors.
  3. Products can be assigned to a vendor from the WooCommerce product editor.

REST API

Base:

/wp-json/wp-mvm/v1/

Endpoints:

  • POST /vendors/register
  • GET /vendor/me
  • GET /vendor/products
  • POST /vendor/payout
  • POST /admin/vendors/{id}/status

Authenticated WordPress users use the standard WordPress nonce/session mechanism.

Database

Tables:

  • wp_mvm_vendors
  • wp_mvm_commissions
  • wp_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