FEATURE_SHOP portal should include a sales dashboard with charts: last-30-day order count/revenue, daily volume, and top products. Print Forge already has this; fold it into the client template so later shop sites get it for free.
## Summary
FEATURE_SHOP portal should include a sales dashboard with charts: last-30-day order count/revenue, daily volume, and top products. Print Forge already has this; fold it into the client template so later shop sites get it for free.
Depends on #5 (shop catalog app).
## Scope
- Portal Retail nav: **Sales** → `/portal/shop/sales/`
- Stats: paid + fulfilled orders in the last 30 days (count, revenue, units, AOV)
- Charts: orders/day, revenue/day, top products by units
- Home dashboard cards for 30-day sales count and revenue when shop is on
- Highlight Sales / Products / Orders in portal nav
## Test plan
- [ ] Sales page requires login
- [ ] Empty state when no paid orders
- [ ] Paid/fulfilled in-window orders counted; draft/open/cancelled/old excluded
- [ ] Top products ranked by units
- [ ] Home dashboard shows 30-day sales count
- [ ] `manage.py test shop core.tests_features`
westfarn
self-assigned this 2026-09-06 08:32:42 -07:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
FEATURE_SHOP portal should include a sales dashboard with charts: last-30-day order count/revenue, daily volume, and top products. Print Forge already has this; fold it into the client template so later shop sites get it for free.
Depends on #5 (shop catalog app).
Scope
/portal/shop/sales/Test plan
manage.py test shop core.tests_featuresPR: #8
Companion Print Forge ticket: ai_ml_operations/print_forge#3