Description
Changes proposed in this Pull Request
- Wires up the details page, which allows users to select the plan/product subtype.
- Adds error catching for cases where the data is invalid for a given slug.
- Ensures picking a product on the selector page sends the user to the appropriate spot.
Screenshots
Testing instructions
- Go to the new plans page.
- Select a product that has subtypes (Jetpack Security or Jetpack Backup).
- Verify you are directed to the details page and cards are correct products.
- Click on a product and verify you are taken to the correct upsell page.
- Alter the duration in the selector page and verify the details page has the correct duration.
- Alter a product slug in the URL and verify the details page responds correctly.
Notes
- Text for “Great choice! […]” string is hard-coded and not translated as it’s not clear what determines that.
- This does not account for plans that aren’t bundles. This is not a case right now, but an edge case to be aware of.
- Features are still not wired up!
- Pricing data retrieval is messy and should be improved.
Fixes 1169247016322522-as-1188472884326553.
Unfortunately, no screenshots were provided by the developer.