Linux 软件免费装
Banner图

Webkoding ShopKit Connect for WooCommerce

开发者 webkoding
更新时间 2026年10月9日 13:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce mobile app rest api push notifications flutter

下载

1.0.1

详情介绍:

Webkoding ShopKit Connect for WooCommerce is the companion plugin of the ShopKit mobile app. Products, cart and checkout come from WooCommerce's own Store API; this plugin adds what a shopping app needs on top of it: The plugin works with HPOS (custom order tables), the block checkout and the classic checkout. Push notifications and Firebase Push is off the network by default: the "Log only" driver writes each notification to the plugin log. To deliver real notifications, choose Firebase Cloud Messaging on the Push tab and enter the path of a Firebase service account key file. See "External services" below.

安装:

  1. Install and activate WooCommerce.
  2. Install this plugin from Plugins > Add New, or upload the zip, and activate it.
  3. Go to WooCommerce > ShopKit Connect. Fix anything the Status tab marks red (HTTPS is required for a live app).
  4. On the App keys tab, create a key. In the ShopKit app open "Connect your store" and scan the QR code or paste the connection JSON. For a production build, pass the JSON at build time instead (--dart-define=SHOPKIT_CONNECTION=...), which also hides the in-app connect screen. The key is shown only once.
  5. Optional: set your logo, colour, banners and links on the App settings tab, and Firebase on the Push tab.

屏幕截图:

  • App keys tab: QR code and connection JSON for a new key.
  • App settings tab: features, logo, colour, banners and links.
  • Push tab: Firebase settings, test notification and broadcast.

升级注意事项:

1.0.1 Security hardening of the checkout hand-off. Open checkout links are cleared on update; tap checkout in the app again. 1.0.0 First release.

常见问题:

Do I need the ShopKit app?

Yes. This plugin is the server side of the ShopKit mobile app. On its own it adds REST endpoints and an admin page, nothing on your storefront.

Does the app see my WooCommerce REST API keys?

No. The app only gets an app key created by this plugin. It identifies the app and can be revoked at any time; customer data needs the customer's own sign-in on top of it.

Which payment gateways work?

All of them. Payment happens on your normal checkout page inside the app's in-app browser, then the app shows its order confirmation.

Can shop managers or administrators sign in to the app?

No. Accounts that can edit posts, manage WooCommerce or manage options are store staff, and staff never get an app token, so an app token can never become a back-office login. Accounts protected by two-factor authentication are refused too, because the app cannot complete a second factor. Use a customer account to test the app. Developers can change the staff capability list with the wkskc_staff_capabilities filter and add rules with wkskc_user_can_use_app.

What happens when a customer deletes their account in the app?

The plugin deletes the WordPress user, their WooCommerce customer data, their wishlist, devices and notifications, and anonymises their own orders if "Remove personal data from orders on request" is on in WooCommerce > Settings > Accounts & Privacy. Data that is only linked by email address (for example guest orders or comments) is not erased automatically, because the app cannot prove the customer owns that address. Instead a standard WordPress "Erase Personal Data" request is created: its owner confirms it by email and you process it under Tools > Erase Personal Data.

Is email address verification required for a changed email?

Yes. When a customer changes their email in the app, the new address receives a confirmation link and the change only happens after it is opened.

How do I show a colour dot for attribute terms?

Edit a term under Products > Attributes and fill in "Swatch colour (ShopKit app)". Colours set by popular variation swatch plugins are read too.

How do I list a coupon in the app?

Tick "Show in the ShopKit app" on the coupon. Coupons that are expired, used up or limited to specific emails are never listed.

My host blocks the Authorization header.

The app can send the token in an X-ShopKit-Token header instead.

Which languages are supported?

The plugin is translation-ready; translations are provided as language packs from translate.wordpress.org. Its REST API answers the app in the language the app asks for (the Accept-Language header) when a translation is available; admin and shop pages keep the site language.

更新日志:

1.0.1 1.0.0