# Store Intelligence — yearly access

10 October 2026. React/TypeScript subscription introduction for the existing Store Intelligence dashboard. Uses the same ES Allianz typography, tokens, Button, Dialog and Icon components, lime actions and responsive layout as Designer Intelligence.

## Routes and profile integration
New introduction: `/store-intelligence-start/`. Existing dashboard: `/store-intelligence-frontend/`. The own-profile Store Intelligence pill is inside `.bio`, immediately after `.role` and before `.location`, matching supplier and designer placement and styling. Only the hosted store profile was rebuilt for this change; other hosted profile pages remain as published.

A first/unsubscribed visit opens the introduction. The profile root can receive `data-intelligence-access="active"` from verified account state to choose the dashboard. This is a navigation hint, not access control. `StoreIntelligencePage` accepts verified `hasAccess`, `dashboardUrl` and optional async `onCheckout(currency)`. Production entitlement and analytics APIs must enforce access server-side. Do not grant paid access from localStorage, a first visit, a URL query or a payment-return page alone.

## Annual pricing and checkout preview
NOK 5,000 per year, one yearly payment; no monthly option or monthly equivalent. Annual renewal and cancellation of renewal are explained. EUR 430, GBP 370, USD 500, SEK 4,800 and DKK 3,200 are labelled illustrative currency fixtures, not exchange quotes or configured Stripe prices. Production must retrieve approved exact local pricing and tax before payment.

No Stripe connection exists. The native dialog explicitly says checkout preview and no payment will be taken. It collects no card information and never creates a subscription or payment success state. The dashboard link opens the existing demo only.

For production, connect `onCheckout` to an authenticated server endpoint that creates an annual Stripe Checkout Session. Configure approved prices/currencies, tax, renewal terms, success/cancel routes, verified webhooks, server entitlements and billing-portal cancellation. Keep payment secrets off the client. Basic store/POS/order/payout tools remain separate from this analysis subscription.

## Interactive content
- Reorder example reuses the existing dashboard's copied `data.ts` and `model.ts`: Soft Merino / Forest, 53 September confirmed units, 2 available after reservations, 14 stock-cover days. A 7-day lead gives 36 suggested units; 14 days gives 48; 21 gives 60. The calculation is expandable and draft additions are session-only. Nothing is sent or ordered.
- Yarn demand shows the same sample exact catalogue variants, supplier, quality, colour code, EAN, search counts and growth. Search events are explicitly not purchases; no colour-image inference or cross-supplier colour matching.
- Pattern example reuses Forest Vest requirements. M requires 7 units, 2 available, 5 missing. L requires 9, 7 missing. Requirements are illustrative; dye-lot compatibility needs checking.
- Benefits match the existing dashboard: sales/fees/settlements, returning orders, yarn/search demand, stock review, editable buying lists, pattern attribution/project availability, profile journeys and CSV exports.

No slow-stock cash valuation, combined POS/online reporting or margin analysis has been added or promised. Current preview stock suggestions use Krafthub sales only. Incoming purchase orders, POS demand, supplier packs/MOQs, wholesale costs and dye lots remain integration boundaries. All data is labelled example data.

## Build and files
Install dependencies and run `npm run build` (strict TypeScript + bundle). `npm run typecheck` is also available. Generated `index.html` needs its accompanying CSS and fonts. `src/StoreIntelligencePage.tsx` is the introduction; `StorePreview.tsx` the three interactive examples; `model.ts` and `data.ts` reuse dashboard fixtures/calculations. `profile-integration/src/main.tsx` in the source ZIP is the updated profile integration reference, not a standalone profile package.

## Verification
Strict TypeScript and production bundle passed. Browser verification covers changing lead time, explained calculation, draft feedback, demand variants, size-dependent missing units, currency propagation and annual-only preview checkout. Desktop and narrow mobile views are checked for overflow, usable controls, modal scrolling and Escape focus restoration. Profile entry and dashboard navigation are verified. Live payments/POS are intentionally not connected.
