Car Battery Pro
Day-to-Day OperationsTheme settings

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.

SettingIDWhat it doesDefault
Installation Service Productinstallation_service_productThe product representing battery fitting. Powers the installation booking flow.- (must be set)
Debug Productdebug_productA 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.

SettingIDWhat it doesDefault
API Base URLapi_base_urlAddress 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 URLapi_dev_base_urlThe 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

SettingIDWhat it doesDefault
Debug Modedebug_modeWhen 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.

On this page