Integration

Svelte Commerce on OpenCart

The most constrained of the set. OpenCart's core API is admin and order management, not a storefront catalogue API.

Coverage

9 of 43 storefront services are wired to a real OpenCart endpoint.

Env wiring is not shipped — you add the branch.

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

Setup

1 · Point the config at the connector

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

2 · Set the environment

# .env
PUBLIC_OPENCART_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.
  • api/order/info has no ownership check at all, so the connector quarantines it behind an admin-only method — a shopper-facing call can never reach it.
  • Catalogue, search, auth, address, user, profile, coupon, page, wishlist and vendor are unwired.

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

Run your OpenCart store on Svelte Commerce.