Plan gate
Outside the canonOne pattern for a setting the account's plan may not include, whether it is part of a higher plan (Pro) or an add-on bought on its own (2026-10-28, "Invoicing Settings – Recommended Structure"; Credit Memos is the first to use it). Not included: the page opens on this featured card — what the feature does, what unlocks it, a primary Upgrade to Pro / Add Credit Memos and a tertiary Compare plans / See pricing — and the settings under it stay visible but disabled, each with the reason (P8). It is the page's one featured container because it is the page's one call to action. The shell nav marks the section with the same icon whether or not the account has it (NavPage entitlement: a gem for a plan feature, a puzzle piece for an add-on). Included: PlanGate renders nothing, and the container that holds the feature carries a PlanBadge in its header instead. The two kinds differ only in their words and icon, so the app needs one component and one entitlement check. On the Settings pages the Plan preview panel (DialKit, prototype only) flips Credit Memos between Pro plan, Not on Pro, Add-on not bought and Add-on bought. Entitlements: the app has the model (plans, features and plan_features, add_ons and plan_add_ons, account_features and account_add_ons); the prototype lacks the data of which plan includes what, so the plan is called Pro, as the brief does (lib/types/plan.ts). Outside the canon vocabulary.
App: Ui::PlanGateComponent (suggested), fed by an entitlement check on Account (plan feature or add-on); no Stimulus
Part of a higher plan
#plan-lockedkind plan, not included: the whole page, centred on a surface-warm panel — the illustration on a graph-paper texture that fades before the copy, the plan's mark, what you would do, how it is sold, what it unlocks, Upgrade to Pro and Compare plans. In context: /invoicing/settings/credit-memos with the Plan preview panel set to Not on Pro.
Give customers credit, and use it on their next orders
Credit memos are part of the Pro plan.
- Issue a credit memo for a return, a damaged bag or a goodwill gesture
- Apply it to a customer's open orders, all at once or a little at a time
- Sync each memo to QuickBooks Online with the invoice it reduces
- See what every memo is worth and where it has been used
An add-on
#add-on-lockedkind add_on, not included: the same panel, its mark, line and actions changed. In context: the Plan preview panel set to Add-on, not bought.
Give customers credit, and use it on their next orders
Credit memos are an add-on you can put on any plan.
- Issue a credit memo for a return, a damaged bag or a goodwill gesture
- Apply it to a customer's open orders, all at once or a little at a time
- Sync each memo to QuickBooks Online with the invoice it reduces
- See what every memo is worth and where it has been used
Props
| Name | Type | Default | Notes |
|---|---|---|---|
| feature | string | — | Required. The feature's name: "Credit Memos" |
| kind | "plan" | "add_on" | — | Required. Part of a higher plan, or bought on its own |
| plan_name | string | "Pro" | For kind plan, the plan that includes it |
| included | boolean | — | Required. The account has it: renders nothing (the container shows a PlanBadge) |
| description | string | — | Required. One line on what it does, for the locked card |
| billing_href | string | — | Required. Where the upgrade or add-on is bought and managed |
| className | string | — | On the card |