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/aliyanfaisal/assoc-admin-and-users-for-woocommerce/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Associations dashboard and invoicing workflow for WooCommerce. Provides custom roles, a self‑service dashboard for association admins/users, commission tracking, and PDF invoice generation.
Requirements
- WordPress >= 6.0
- PHP >= 7.4
- WooCommerce (latest compatible)
Installation
- Copy the plugin folder
assoc-marketplace -2.0.0intowp-content/plugins/. - In WordPress Admin → Plugins, activate “Assoc Admin and Users for WooCommerce”.
- Visit
/assoc-dashboard/dashboardto access the dashboard (or use the shortcodes below).
Shortcodes
[assoc_dashboard]redirects to the association dashboard.[assoc_login]renders a login UI for association users.
Routes
/assoc-dashboard/dashboardmain dashboard (requiresassociation_adminorassociation_user)./assoc-dashboard/invoiceinvoice details view./assoc-dashboard/invoice-pdf?invoice_id=123generates and downloads the invoice PDF.
Roles
association_admin— full association dashboard access, can manage sub‑users.association_user— limited dashboard access.
Features
- Dashboard metrics and charts for sales, earnings, commissions.
- Commission calculation per product with configurable per‑product amount.
- Invoice generation (quarterly by default) with downloadable PDF.
- Locale handling based on user meta (
assoc_locale/locale) with safe loading.
Configuration
- Admin can update association settings from the dashboard (colors, products per page, logo).
- Commission defaults can be set via product meta (
_assoc_commission_amount).
Notes
- Textdomain loads once on
init; route handlers safely switch locale and load MO files per request. - Dashboard queries are paginated to avoid high memory usage on large stores.
Support
For issues or feature requests, contact the plugin author.