General Configuration
Most Sonata customization starts in a small number of files.Start with config and data files before editing components. Sonata is designed so common storefront changes do not require layout rewrites.
Important Files
Folder Structure
Site Config
Edit:namefullNamelogodescriptionurlbilling.urlbilling.panelsocialseoiconsnav.bannerlocations
Billing URL
Most product order links use:Navigation
Main navigation is in:Configuration Priority
For a new brand, update files in this order:lib/config/site.tsapp/globals.csslib/data/game-hosting.tslib/data/product-config.tspublic/asset/components/Navbar.tsxcomponents/Footer.tsx
Locations
Location data should stay consistent across the website, billing panel, and Pterodactyl. Example:- Location selectors.
- Game hosting plans.
- Billing configurable options.
- Pterodactyl location or node mapping.
Copy Guidelines
- Use short labels in navigation.
- Use concise plan card text.
- Put longer explanations in FAQ or docs pages.
- Keep button labels action-oriented.
- Avoid unsupported claims in product copy.
Final Check
After changing configuration:- Run
pnpm build. - Click every header and footer link.
- Check all product categories.
- Confirm checkout links point to production billing.
- Test light mode and dark mode.