Integration

Svelte Commerce on Bagisto

Core commerce is covered. The storefront also ships a /proxy/bagisto/* route that forwards to your Bagisto instance.

Coverage

22 of 43 storefront services are wired to a real Bagisto endpoint.

Env wiring is not shipped — you add the branch.

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

Setup

1 · Point the config at the connector

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

2 · Set the environment

# .env
PUBLIC_BAGISTO_API_URL=# Read by the /proxy/bagisto/* route; not yet wired into init.ts

What to know

  • PUBLIC_BAGISTO_API_URL is already read by src/routes/proxy/bagisto/[...path]/+server.ts.
  • Connector env wiring in init.ts is still yours to add.
  • Coupon, page, payment-method and vendor have no wired equivalent.

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

Run your Bagisto store on Svelte Commerce.