Wishlabs Design

Discount

Codes and scopes in admin, show treasurer, and checkout. Applied-code pills on orders/tickets are the same Code chip shape.

Shape = different job (card vs chip vs row). Variant = same job, density/size only. Platform source paths are cited per block.

Scope chips

Where a code applies — category, product, event, customer.

// platform: components/admin/DiscountScopeChips.tsx
TicketsProduct: ComedyEvent: Thursday Night Showcase

Code / applied pill

Neutral badge used on order and ticket rows when a code is applied.

// platform: ShowOrdersPanel / ShowIssuedTicketsPanel (inline badge)
FRIEND10 · −$4.00FRIEND10

Table row

Admin / show / treasurer discount tables.

// platform: components/admin/AdminDiscountsPanel.tsx
CodeAmountScope
FRIEND1010% off
TicketsProduct: ComedyEvent: Thursday Night Showcase

Checkout entry

Theme variants of one entry control: zinc · improv · light.

// platform: components/ticketing/DiscountCodeEntry.tsx

zinc

improv

light

Detail summary

Discount detail drawer.

// platform: components/details/DiscountDetailContent.tsx

FRIEND10

10% off

Scope

TicketsProduct: ComedyEvent: Thursday Night Showcase

Example applied on QK-1842