Sitemap · Prototype Navigator

Buttermints Wholesale · Page Map

Every page in the prototype, grouped by zone, with the primary user flows that connect them. All cards link to the live page. Use this as the source-of-truth reference when porting to the Dawn theme.

← Prototype index Open buyer dashboard
Public (no login)
Auth gateway
Buyer (signed in)
Cross-instance / external
?param URL deep-link
Zone 1

Public · Not signed in

Pre-login
Buyer applies

Onboarding flow

Cross-instance flow: Sample orders submit to buttermints.com D2C Shopify, NOT this wholesale instance. D2C tags the order wholesale-sample, packing slip injects wholesale catalog PDF + price sheet + apply-postcard. Webhook → wholesale instance creates a Sample request metaobject for sales follow-up.
Zone 2

Auth gateway

Login

Approval email from sales rep contains a magic link → set-password → signin → dashboard. Both pages use a focused-card design (no unified hero) intentionally for pre-login conversion.

Approved buyer enters dashboard
Zone 3

Buyer · Signed in

Account
Branches into 4 lanes

Key flows & cross-page wiring

Onboarding

  • homeapplyapply-thanks
  • Sales rep approves → emails magic link
  • Email link → set-passwordsignindashboard
  • Sample-order side-path: apply-thankssamples (cross-instance to D2C)

Reorder loop

  • dashboardreorder (or "Reorder last" quick-action)
  • reordercart.html?reorder=G-XXXXX
  • Cart clones group's locations + items, sets reorderSource line property
  • Quick-add a single SKU: cart.html?add=018-4-12

Order Group lifecycle

  • 1 cart submission → 1 group metaobject + N child orders
  • Each child: own #, invoice, 6-stage status, tracking
  • ordersorder-detail?id=Ninvoice-detail?id=INV-N
  • Invoice page cycles through siblings via ?id= param

LTL / freight trigger

  • Per-location, NOT order-wide
  • Triggers when: ≥100 case-eq OR ≥6 BYO shippers
  • 1 standard pallet = 8 shippers
  • Pallet fields required at checkout: contact / phone / window

Payment options at cart

  • Credit card (2.9% fee)
  • ACH (free, 2-3 day)
  • PO (uploaded doc; net 30 implicit)
  • Net 30 terms (eligibility-gated)
  • Shipping protection: 3% opt-in, free at $1,500+

Catalog tabs (shop.html)

  • Pouches by case (default) — 24 flavors, Half-6 / Case-12 toggle
  • Display Shippers — Regular = customizable BYO; Christmas / Fall / Valentine's = fixed-flavor presets
  • Bulk Packaging — coming soon, email contact
  • Deep-link: ?tab=displays

Codes (private)

  • Code names never appear in public copy
  • WELCOME50 / TRADE25 / TRADE50 distributed via approval email or rep
  • Auto-apply only via URL param: samples.html?code=WELCOME50
  • Stacking allowed; UI shows red × removal

What's queued for Dawn port

  • Scaffold theme/ as Dawn fork
  • Cart Transform Function (multi-loc + BYO bundling)
  • Order Group metaobject + child-order tagging
  • Sample cross-instance flow + webhook
  • Migration from B2B Wave + distributor catalogs

Generated 2026-04-27 from prototype/. Update when adding new pages.