Loading…
Loading…
Overview of all generated Next.js pages and routes
@woographql/next generates Next.js App Router pages for a complete e-commerce storefront. Pages are conditionally generated based on your configuration.
| Route | Page | Condition |
|---|---|---|
/ | Home | Always |
/shop | Shop | Always |
/shop/[category] | Shop (filtered) | Always |
/product/[slug] | Product | Always |
/cart | Cart | includeCart: true |
/checkout | Checkout | includeCheckout: true |
/checkout/user-details | Checkout (step 1) | includeCheckout: true |
/checkout/order-details | Checkout (step 2) | includeCheckout: true |
/checkout/review | Checkout (step 3) | includeCheckout: true |
/checkout/thank-you/[id] | Checkout (step 4) | includeCheckout: true |
/login | Login | authType != withoutAuth |
/account | Account | includeAccountPages: true |
/account/orders | Account (orders) | includeAccountPages: true |
/account/addresses | Account (addresses) | includeAccountPages: true |
/account/details | Account (details) | includeAccountPages: true |
/account/payment-methods | Account (payments) | includeAccountPages: true |
/account/subscriptions | Account (subs) | includeAccountPages: true + subscription product type |
/order-status | Order Status | includeCheckout: true + authType != authOnly |
See API Routes Reference for all generated API route handlers.
When usingNextPress is enabled, pages use route groups for WordPress content integration:
(main)/ - WooCommerce-specific routes (shop, product, cart, checkout, account)(wordpress)/ - WordPress content routes proxied through NextPress<nextpress>/ - NextPress layout and catch-all routesWhen usingNextPress is disabled, all routes live at the top level of the app/ directory.