feat: jersey size selector on checkout page #65
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
plan-wkq→ Phase 11 (Girls Tryout) → discovered during jersey email blast 2026-03-21Parent reported no size option on jersey checkout page.
Repo
forgejo_admin/westside-appUser Story
As a parent, I want to select a jersey size on the checkout page so that my child gets the right fit
Context
The
/jerseypage shows three option cards (Reversible $90, Jersey+Warmup $130, Opt Out $0) but no size selection. Each card needs a size dropdown. When parent clicks "Order — $90", the selected size is sent toPOST /jersey/checkoutalongside the option. Backend passes size through Stripe metadata. Available sizes fromGET /jersey/sizesendpoint (YS, YM, YL, YXL, AS, AM, AL, AXL).File Targets
Files the agent should modify:
src/routes/jersey/+page.svelte— add size dropdown to each option card (except opt-out). Fetch sizes from API. Disable "Order" button until size is selected. Sendsizeparam with checkout request.Files the agent should NOT touch:
src/routes/other routes — unrelatedAcceptance Criteria
GET /jersey/sizesAPI endpointPOST /jersey/checkoutassizeparamTest Expectations
/jersey?token=..., see size dropdownsConstraints
Checklist
Related
plan-wkq— Phase 11project-westside-basketball