Integration

Svelte Commerce on Broadleaf

Wired against Broadleaf Microservices — 41 OpenAPI 3.0.3 documents — rather than the legacy 5.x/6.x monolith, which publishes no versioned REST contract.

Coverage

28 of 43 storefront services are wired to a real Broadleaf endpoint.

Env wiring is not shipped — you add the branch.

terminal
$ npm uninstall @misiki/litekart-connector
$ npm i @misiki/broadleaf-connector
$ npm run dev

Setup

1 · Point the config at the connector

// kitcommerce.config.ts
export * as services from '@misiki/broadleaf-connector'

2 · Set the environment

# .env
PUBLIC_BROADLEAF_API_URL=# Not yet read by init.ts — add this branch yourself

What to know

  • Env wiring is not shipped: add a branch to src/lib/core/connectors/init.ts.
  • Open question for maintainers: CartPricing in the published schema has no total, adjustmentsTotal or feesTotal, but the demo gateway returns them. A deployment following the spec strictly would render a zero cart total.

Full guide with troubleshooting, store identity and per-service behaviour: docs/BROADLEAF.md

Run your Broadleaf store on Svelte Commerce.