What this layer controls
- Catalogue structure: variants, bundles, categories, attributes
- Pricing, promotions, tax and shipping configuration
- Which apps are installed and what they cost in page weight and data
- The migration and rollback path
What it looks like when it is wrong
These are the symptoms that show up in a marketing report or a Monday meeting. Each one has a technical cause in this layer, and each is cheaper to fix before it has a quarter of history behind it.
- Two apps write the same product field and disagree
- A promotion cannot be scheduled without an engineering ticket
- Nobody can list installed apps and their scopes without a screen share
- Catalogue imports create new SKUs instead of updating existing ones
- A migration is planned without a rollback
An open-source stack for this layer
Every project below is open source and self-hostable, with the licence the project publishes today. This is a reference build, not a recommendation to run all of it: pick the layers your stack is missing.
| Layer | Project | Licence | What it does |
|---|---|---|---|
| Platform | WooCommerce / Medusa / platform-native | GPL-2.0 / MIT | The system of record for catalogue, cart, order and payment objects. |
| App governance | Platform admin API + a manifest | n/a | Enumerate apps and scopes from the API; keep the manifest in git. |
| Catalogue sync | Your own job + PIM or ERP API | n/a | Idempotent upserts keyed by SKU, with a run log. |
| Performance | Lighthouse CI | Apache-2.0 | PDP and PLP budgets, asserted per deploy. |
| Testing | Playwright | Apache-2.0 | A scripted purchase that runs after every app install or theme change. |
Evaluation checklist
Answer each of these about your current stack. A ‘no’ is a work item, and the count is a fair summary of the layer’s health.
- Is the app inventory generated from the platform API, with scopes recorded?
- Does a scripted end-to-end purchase run in CI against staging?
- Is the catalogue sync idempotent on SKU with a run log?
- Are promotions configurable by a merchandiser, not a developer?
- Is there a documented rollback for the last three releases?
- Is page weight per template budgeted and enforced?
What to instrument
Numbers that make the layer’s health visible before a customer complains.
- Third-party requests per template
- Catalogue sync error rate
- Checkout completion rate by device
- Time to roll back a release
Where this fits
Scope. This page describes the category and an open-source way to build it. It does not publish 5 Kings’ internal method, client data or vendor terms, and it is not an endorsement of every project listed: check the licence and the maintenance activity against your own constraints before you adopt one.