Getting Started
System overview
The moving parts of the Car Battery Pro platform on a single page.
System overview
๐ค Ops ยท ๐ Dev
Car Battery Pro is made up of four moving parts. The store you see is Shopify; the "smart" features are powered by a custom API behind it.
The four parts
- Shopify store + theme โ the catalogue, cart, checkout, payments, and the customer-facing pages. The theme is the custom CBP codebase that Conversion Kings maintains.
- CBP backend API โ a custom service (hosted on Cloudflare Workers, in the separate
eb-cbp-rego-lookuprepo) that answers the questions Shopify can't: which battery fits this car?, is this postcode valid?, what installation slots are free?. It does this by calling external providers โ AutoInfo (vehicle data), Australia Post (postcodes), and Google (Calendar, Places, Gmail) โ and the Shopify Admin API to match batteries to products. See The backend API. - Booking data source โ installation availability comes from Google Calendars that the CBP office controls (one per installer). Bookings are confirmed when the order is paid, via a Shopify webhook. See Appointments & scheduling.
- Tracking โ a Shopify Web Pixel forwards customer events into Google Tag Manager. See Tracking & Analytics.
How they fit together
Customer's browser
โ
โผ
Shopify store (CBP theme) โโโบ CBP backend API (Cloudflare Workers)
โ โ โข vehicle lookup โ AutoInfo
โ โ โข battery compatibility โ Shopify Admin API
โ โ โข postcode lookup โ Australia Post
โ โ โข address autocomplete โ Google Places
โ โ โข installation slots โ Google Calendars
โ โผ
โ Installer Google Calendars (office)
โผ โฒ
Shopify checkout & orders โโ order_paid โโโ (confirms the booking)
โ
โผ
Google Tag Manager โโโ Shopify Web Pixel (tracking)What's standard vs custom
| Capability | Standard Shopify | Custom CBP |
|---|---|---|
| Catalogue, cart, checkout, payments | โ | |
| Refunds, customers, shipping | โ | |
| Vehicle โ battery matching | โ | |
| Postcode delivery/installation check | โ | |
| Installation booking + Order ID bundling | โ | |
| Event tracking into GTM | โ |
If a task touches the Standard Shopify column, this handbook points you to Shopify's help docs. If it touches the Custom CBP column, it's documented in full here.