Marketplace · fe-user plugin

Marketplace — fe-user plugin

The vendor's private area — become a vendor, manage listings and categories across verticals, and watch sales and earnings, all against the live backend.

('

The vendor\'s private area

The fe-user marketplace plugin is the vendor\'s home. It contributes a collapsible “Vendor” navigation block to the user portal — My listings, My categories, My sales, My earnings — and every screen makes real calls to the live backend vendor endpoints (no mock data). The area deliberately reuses the admin back-office visual language: card-list pages with sortable columns, quick-search and settings-style edit forms.

The “Vendor” nav block added to the user portal, with the four vendor pages.
The “Vendor” nav block added to the user portal, with the four vendor pages.
', '

Become a vendor

A user who is not yet a vendor sees onboarding on the My listings page: one form (display_name) that posts to /marketplace/become-vendor. Depending on the operator\'s config the application lands pending (awaiting approval) or active immediately.

', '

One listings table for every vertical

The store fetches GET /marketplace/listing-types to learn which verticals are sellable on this install, then aggregates the four vertical collections client-side into a single normalised My listings table. A vertical whose vendor-mode is off is simply skipped — a partial marketplace still renders.

My listings — all verticals in one table.
My listings — all verticals in one table.
New listing — the create dropdown is driven by the backend listing-types registry.
New listing — the create dropdown is driven by the backend listing-types registry.
', '

Capability-driven editors

The edit screen renders per-entity editors according to each listing type\'s capabilitiesstock, images, tags, custom fields — backed by generic <api_base>/<id>/* endpoints. Because the editors are keyed off capabilities and driven off the listing type\'s api_base, the app needs no per-vertical code: a new sellable vertical works the moment it appears in the backend catalog.

Editing a listing — only the editors the type supports are shown.
Editing a listing — only the editors the type supports are shown.
', '

Categories, sales & earnings

Vendors organise listings with categories, and track results in two read views: My sales (paid invoices grouped per invoice, own lines only) and My earnings (the ledger plus the live withdrawable balance).

My categories.
My categories.
My sales.
My sales.
My earnings + withdrawable balance.
My earnings + withdrawable balance.
', '

Cashing out

Withdrawing accrued earnings uses the existing withdraw flow against the vendor_earnings balance source — the fe-user marketplace plugin surfaces the balance; the payout itself runs through the shared withdraw UI.

Requesting a payout of the accrued balance.
Requesting a payout of the accrued balance.
', '

How the money reaches these screens

Everything shown here is credited by the backend plugin from paid invoices, and moderated by the fe-admin plugin. See the overview for the whole flow.

')