Integration
Svelte Commerce on WooCommerce
Three namespaces with three different auth models: wc/v3 with consumer key and secret, the Store API wc/store/v1 where cart and checkout live, and WP core wp/v2.
Coverage
27 of 43 storefront services are wired to a real WooCommerce endpoint.
Env wiring is not shipped — you add the branch.
$ npm uninstall @misiki/litekart-connector
$ npm i @misiki/woocommerce-connector
$ npm run devSetup
1 · Point the config at the connector
// kitcommerce.config.ts
export * as services from '@misiki/woocommerce-connector'2 · Set the environment
# .env
PUBLIC_WOOCOMMERCE_API_URL=# Not yet read by init.ts — add this branch yourselfWhat to know
- Env wiring is not shipped: add a branch to
src/lib/core/connectors/init.ts. - Auth throws rather than fabricating a session —
POST /customerscreates an account but returns no session, and core has no login endpoint without a JWT plugin. - Wishlist has no wired equivalent.
Full guide with troubleshooting, store identity and per-service behaviour: docs/WOOCOMMERCE.md