Integration

Svelte Commerce on Django Oscar

Wired against django-oscar-api, which is a separate package from Oscar core and must be installed and routed on your instance.

Coverage

15 of 43 storefront services are wired to a real Django Oscar endpoint.

Env wiring is not shipped — you add the branch.

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

Setup

1 · Point the config at the connector

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

2 · Set the environment

# .env
PUBLIC_OSCAR_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.
  • Requires django-oscar-api, not just Oscar core.
  • Coupon, review, search, page, payment-method, currency, state, wishlist and vendor are unwired.

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

Run your Django Oscar store on Svelte Commerce.