Overview
Sales, products, sellers, payouts, and orders.
Preview mode aktif: halaman admin dibuka tanpa pengecekan role supaya desain dan dashboard bisa dites dulu. Sebelum production, akses admin wajib dikunci lagi dengan role admin + RLS/server-side policy.
Total products0
Total sales0
Gross sales (IDR)Rp0
Collaborating sellers0
Sales by product
Each product shows units sold and gross value.| Product | Seller | Units sold | Price | Gross sales | Seller share | Seller earnings |
|---|
Products
Catalog ownership and commercial performance.| Product | Category | Seller | Revenue split | Units | Gross | Status |
|---|
Collab-ready setup: products can carry a seller/vendor ID and revenue-share percentage. For production payouts, store a price snapshot and seller amount on each paid order item so historical earnings never change when product prices change.
Recent orders
Latest payment states from the orders table.| Order | Date | Status | Currency | Total |
|---|
Promo code manager
Create, edit, disable, expire, and track codes.
Expected table:
promo_codes. The manager supports common fields such as
code, discount_type, discount_value,
usage_limit, used_count, expires_at,
is_active, creator_name, and campaign.
Active & historical codes
Click a row to edit it.Total codes0
Active0
Total uses0
| Code | Discount | Partner | Uses | Expires | Status |
|---|