Complete WooCommerce-style page architecture implementation: Backend (already committed): - API endpoint to fetch WordPress pages - spa_pages field in appearance settings - is_spa_page() checks in TemplateOverride and Assets Frontend (this commit): - Added page selector UI in Appearance > General - Dropdowns for Shop, Cart, Checkout, Account pages - Loads available WordPress pages from API - Saves selected page IDs to settings - Info alert explaining full-body rendering UI Features: - Clean page selection interface - Shows all published WordPress pages - '— None —' option to disable - Integrated into existing General settings tab - Follows existing design patterns How it works: 1. Admin selects pages in Appearance > General 2. Page IDs saved to woonoow_appearance_settings 3. Frontend checks if current page matches selected pages 4. If match, renders full SPA to body (no theme interference) 5. Works with ANY theme consistently Next: Test page selection and verify clean SPA rendering
22 KiB
22 KiB