Recalculate bundle pricing + bundle auto-uncheck individual items

- DOT Full Compliance Bundle: $499 → $399 (saves $376 vs $775 individual)
- State Compliance Bundle: $599 → $499 (saves $297 vs $796 individual)
- D&A marked non-discountable (passthrough cost to testing provider)
- Order page: selecting a bundle auto-unchecks its individual components
  via data-bundle attribute listing component slugs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
justin 2026-05-29 14:49:59 -05:00
parent 4cfcb6a50c
commit 78ed1db15a
4 changed files with 24 additions and 10 deletions

View file

@ -170,7 +170,7 @@ export const SERVICE_META: Record<string, { name: string; price_cents: number }>
"mc-authority": { name: "MC Operating Authority Application", price_cents: 34900 },
"dot-drug-alcohol": { name: "DOT Drug & Alcohol Compliance Program", price_cents: 14900 },
"dot-audit-prep": { name: "New Entrant Safety Audit Preparation", price_cents: 39900 },
"dot-full-compliance": { name: "DOT Full Compliance Bundle", price_cents: 49900 },
"dot-full-compliance": { name: "DOT Full Compliance Bundle", price_cents: 39900 },
// State-level trucking
"irp-registration": { name: "IRP Registration Assistance", price_cents: 19900 },
"ifta-application": { name: "IFTA Application + Decals", price_cents: 14900 },
@ -184,7 +184,7 @@ export const SERVICE_META: Record<string, { name: string; price_cents: number }>
"state-dot-registration": { name: "State DOT Registration", price_cents: 14900 },
"intrastate-authority": { name: "Intrastate Operating Authority", price_cents: 24900 },
"osow-permit": { name: "Oversize/Overweight Permit", price_cents: 9900 },
"state-trucking-bundle": { name: "State Compliance Bundle", price_cents: 59900 },
"state-trucking-bundle": { name: "State Compliance Bundle", price_cents: 49900 },
};
export function formatUSD(cents: number): string {