Skip to content

Show discounted prices on upgrade cards#1794

Merged
bokelley merged 2 commits intomainfrom
bokelley/member-upgrade-discount
Apr 1, 2026
Merged

Show discounted prices on upgrade cards#1794
bokelley merged 2 commits intomainfrom
bokelley/member-upgrade-discount

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

@bokelley bokelley commented Apr 1, 2026

Summary

  • Members with an admin-granted discount now see the discounted price on membership upgrade cards
  • Shows strikethrough original price, discounted price, and discount badge (e.g. "50% off")
  • Discount display also applies to the agreement modal confirmation

Context

Needed for cases like regional partnerships where we grant a discount on a higher tier (e.g. 50% off Partner for $5k instead of $10k). Without this, users only saw the full price on upgrade cards and didn't know the discount would apply until Stripe Checkout.

Test plan

  • Grant an org a discount via admin API
  • Visit membership page as that org — verify upgrade cards show discounted price with strikethrough
  • Click upgrade — verify agreement modal shows discounted price
  • Complete checkout — verify Stripe applies the coupon correctly

🤖 Generated with Claude Code

bokelley and others added 2 commits April 1, 2026 10:19
Members with an admin-granted discount now see the discounted price
(with strikethrough original and discount badge) on tier selection
cards, upgrade cards, and the agreement modal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bokelley bokelley merged commit 4260b05 into main Apr 1, 2026
12 checks passed
@bokelley bokelley deleted the bokelley/member-upgrade-discount branch April 1, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant