Products, API & Advanced settings
The CBP-critical configuration - key products, backend API URLs, and debug mode. Change with care.
Products, API & Advanced settings
๐ค Ops ยท ๐ Dev
The settings on this page are configuration, not content. A wrong value here can take down vehicle lookup or installation booking across the whole store. Change them deliberately, and test afterwards.
Product configuration
Tells the theme which products play special roles.
| Setting | ID | What it does | Default |
|---|---|---|---|
| Installation Service Product | installation_service_product | The product representing battery fitting. Powers the installation booking flow. | - (must be set) |
| Debug Product | debug_product | A product used when generating HTML templates during server-side rendering. Developer-facing. | - |
If the installation-service product is ever replaced, this setting must be re-pointed at the new product or booking breaks. See The installation-service product.
API Configuration
Where the storefront sends vehicle, postcode, address, and booking calls.
| Setting | ID | What it does | Default |
|---|---|---|---|
| API Base URL | api_base_url | Address of the production CBP backend API. All live vehicle, postcode, and booking calls go here. | https://eb-cbp-api.francisrcollins1.workers.dev/ |
| API Dev Base URL | api_dev_base_url | The API address used instead when debug mode is on (development/staging). | http://localhost:8787 |
Don't change the API Base URL unless you are deliberately repointing the store to a different backend. If it's wrong, vehicle lookup and booking stop working everywhere. See The backend API.
Advanced
| Setting | ID | What it does | Default |
|---|---|---|---|
| Debug Mode | debug_mode | When on, the store talks to the dev/staging API (api_dev_base_url) and enables developer logging and forwarding headers. Must be off in production. | false |
See Debug mode for exactly what toggling this changes.
Layout & spacing settings
Page width and margin, plus the module, heading, banner, and gap spacing scales across desktop, tablet, and mobile.
SEO & meta tags settings
Site identity, title/description templates, verification, Open Graph, Twitter/X, Pinterest, schema.org, and favicons - with IDs and defaults.