Description
Proposed Changes
- Account for upcoming changes to theme subscriptions in the modal copy, styles, and actions.
- Add radio buttons for selecting monthly or yearly subscriptions
- Add loading state to wait for theme and product data
- TODO: Get actual premium pricing data (waiting on #65569 )
- TODO: Figure out where link to plan under button should go (checkout with plan?)
- TODO: Pass subscription choice back to checkout function so we know what subscription to add to the cart
Before
After
Testing Instructions
- Switch to this PR and navigate to
/setup/?siteSlug=[your test site]&flags=signup/seller-upgrade-modal
on a site on the free plan
- Choose a Premium theme
- Click the “Unlock theme” button in the preview
- The above modal should appear.
Pre-merge Checklist
Complete applicable items on this checklist before merging into trunk. Inapplicable items can be left unchecked.
Both the PR author and reviewer are responsible for ensuring the checklist is completed.
Related to #65138
Unfortunately, no screenshots were provided by the developer.