render_intro();
$this->render_booking_section();
$this->render_payments_section();
$this->render_next_steps_section();
echo '
Open full setup guide
';
$this->render_styles();
}
public function render_admin_page() {
echo '';
echo '
Coaching Template Setup Guide
';
echo '
Use this page to finish the built-in booking and payment setup after the project has been generated.
';
$this->render_intro();
$this->render_booking_section();
$this->render_payments_section();
$this->render_next_steps_section();
$this->render_styles();
echo '
';
}
private function render_intro() {
echo '';
echo '
This template already includes the booking and payments plugins. You usually do not need to install anything else. Finish the remaining business-specific setup here and then test the full lead-to-booking-to-payment flow.
';
echo '
';
}
private function render_booking_section() {
echo '';
echo '
Simply Schedule Appointments
';
echo '
Use the Appointments menu to review the booking flow, appointment types, and general scheduling behavior.
';
echo '
';
echo '
';
echo '- Review the main appointment type title, duration, and confirmation behavior.
';
echo '- Check availability windows, timezone, and any blackout dates that should apply to the coach.
';
echo '- Confirm the booking form asks for the right lead details for your coaching workflow.
';
echo '- Make one test booking and verify the confirmation screen and admin-side appointment record.
';
echo '
';
echo '
';
}
private function render_payments_section() {
echo '';
echo '
Accept Stripe Payments
';
echo '
Use the Stripe Payments admin screens to connect the site to the correct Stripe account and verify product/payment configuration.
';
echo '
';
echo '
';
echo '- Go to Stripe Settings and paste the correct Publishable Key and Secret Key from your Stripe dashboard.
';
echo '- Verify the site is using the right Stripe mode for launch.
';
echo '- Review the payment products/buttons already included in the template and update names, prices, and success copy as needed.
';
echo '- Run one real or test payment end-to-end and confirm the order appears in WordPress admin.
';
echo '
';
echo '
';
}
private function render_next_steps_section() {
echo '';
echo '
Final Manual Checklist
';
echo '
';
echo '- Replace any demo coach name, offer text, and testimonials with the real business content.
';
echo '- Check all CTA buttons and forms on the public site.
';
echo '- Verify the booking and payment flows on both desktop and mobile.
';
echo '- Only go live after both booking and payment test flows succeed.
';
echo '
';
echo '
';
}
private function render_styles() {
echo '';
}
private function setup_guide_url() {
return admin_url( 'index.php?page=' . self::PAGE_SLUG );
}
private function ssa_main_url() {
return admin_url( 'admin.php?page=simply-schedule-appointments' );
}
private function ssa_types_url() {
return admin_url( 'admin.php?page=simply-schedule-appointments-types' );
}
private function ssa_settings_url() {
return admin_url( 'admin.php?page=simply-schedule-appointments-settings' );
}
private function stripe_products_url() {
return admin_url( 'edit.php?post_type=asp-products' );
}
private function stripe_settings_url() {
return admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#general' );
}
private function stripe_email_settings_url() {
return admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#email' );
}
}
new Coaching_Admin_Setup_Guide();