Reference

Settings Guide

The Stokkap Connect settings page is found at Stokkap > Settings in your WordPress admin. It is organised into cards, each covering a different area of the plugin.

Stokkap connection

This card manages the link between your WooCommerce store and the Stokkap web app.

Not connected

A "Connect to Stokkap" button is shown. Clicking it redirects you to the Stokkap app to authorise the connection. Once authorised, you are redirected back and a welcome modal confirms the connection is active.

Connected

The card shows your connection status including a truncated Client ID, your Store ID, and when the connection was last verified. Two buttons are available:

  • Test Connection - Sends a test request to verify the link is still working. Use this if you suspect sync has stopped or after server changes.
  • Disconnect - Removes the connection. Webhooks will stop and sync will pause. Your WooCommerce products, stock levels, and locations remain unaffected. You can reconnect at any time and your data in the Stokkap app is preserved.

The connection is required for webhooks, the Stokkap web app, and barcode scanning features to work. Location management and stock tracking within WooCommerce work independently of the connection.

Webhooks

Webhooks send real-time events from your WooCommerce store to the Stokkap app. This keeps the app in sync without waiting for scheduled syncs.

  • Enable Webhooks - Master toggle. When off, no events are sent. Requires an active connection and subscription.
  • Webhook Events - Choose which events to send (shown when webhooks are enabled):
Event What triggers it
Stock UpdatedAny stock level change (order, manual edit, API, stocktake)
Low Stock AlertTotal stock falls to or below the low stock threshold
Out of StockTotal stock reaches zero
Product CreatedA new product is published
Product UpdatedProduct details are changed (title, price, SKU, etc.)
Product TrashedA product is moved to the trash
Product RestoredA trashed product is restored
Product Deleted (Permanent)A product is permanently deleted

All events are enabled by default. You can disable individual events you don't need - for example, if you only use the app for stock management, you might disable the product lifecycle events to reduce traffic.

Stock settings

  • Low Stock Threshold - The total stock level at or below which a low stock alert is triggered. Default: 5. Set to 0 to disable low stock alerts. This applies globally - individual product thresholds are managed through WooCommerce's own low stock settings.
  • Auto Recalculation - How often Stokkap automatically recalculates WooCommerce stock totals from location values:
Option Description
Hourly
Every 6 Hours
Twice Daily
Daily
Disabled (default)

This is a safety net that catches any drift between location stocks and the WooCommerce total. Under normal operation, totals are recalculated instantly whenever stock changes. You only need this if you suspect totals might get out of sync - for example, after a database migration. For most stores, leaving this disabled is fine.

External Stock Changes

When enabled, Stokkap detects stock level changes made by other plugins directly to WooCommerce's stock field on Stokkap-managed products and applies the difference to your locations. Increases are added to the highest-priority location. Decreases are depleted in priority order, the same way an order would be. Default: off.

Enable this if you use plugins that sync stock levels directly to WooCommerce - for example, Square inventory sync, external warehouse management systems, or bulk stock import tools. Without this setting, direct stock changes on managed products are overwritten the next time Stokkap recalculates from location values.

This does not affect order-based stock changes (those are already handled correctly) or stock changes made through the Stokkap admin, API, or web app.

Compatibility with other stock plugins

For Stokkap-managed products, location stocks are the source of truth - WooCommerce's stock total is always recalculated from them.

Plugins that create WooCommerce orders work fine. If a plugin creates a proper WooCommerce order and reduces stock through the standard order flow, Stokkap detects it and depletes from locations in priority order. This includes most marketplace plugins (e.g., eBay, Amazon) that import sales as WooCommerce orders, POS plugins that create orders, and subscription renewals.

Plugins that sync stock levels directly will conflict by default. If a plugin writes to WooCommerce's stock field directly (without creating an order), the change will be overwritten the next time Stokkap recalculates from location values. This includes inventory sync tools that push stock quantities from external systems (e.g., Square inventory sync, external warehouse management systems, or bulk stock import tools that update the WooCommerce stock field rather than Stokkap's location meta).

To handle this, you have three options:

  1. Enable "External Stock Changes" (above) - Stokkap will detect the change and distribute the difference across your locations automatically.
  2. Leave those products unmanaged by Stokkap - if you don't need multi-location stock tracking for those products.
  3. Configure the external sync to write to Stokkap's _st_stock_{location_slug} meta fields instead of WooCommerce's stock field - for maximum control over which location receives the stock.

Location types

A shortcut card linking to the Location Types management page. No settings to configure here - just a convenient link. For full details, see the Location Management Guide.

Features

Enable or disable optional Stokkap features.

  • Admin Toolbar - Shows Stokkap quick actions (Quick Lookup, barcode scanning) in the WordPress admin toolbar at the top of every admin page. Enabled by default. Disable if you prefer a cleaner toolbar.
  • Pick & Pack (Premium) - Enables the order picking and packing workflow. When active, this adds:

    • The Pick & Pack page under the Stokkap menu
    • Bulk actions on the WooCommerce orders list
    • The "Packed" order status

    A page reload is required after changing this setting. Only available with a subscription plan that includes Pick & Pack.

  • POS Orders (Premium) - Enables order creation from the Quick Lookup modal. When active, staff can scan products and create orders directly from the barcode lookup interface - useful for in-store point-of-sale workflows. Only available with a subscription plan that includes POS.
  • Location-Based Shipping (Premium) - Also known as Smart Delivery. When available on your subscription, this shows a link to the dedicated shipping settings page. Smart Delivery documentation will be covered separately.

Features marked Premium are greyed out if your subscription plan does not include them. They will be available as subscription add-ons.

CDN

Serve product images from a CDN instead of your origin server. This only affects images displayed in the Stokkap web app - it does not change your WooCommerce storefront.

  • Enable CDN - Toggle CDN image delivery on or off.
  • CDN Hostname - The hostname to use for image URLs (shown when CDN is enabled). Enter just the hostname without https:// - for example, cdn.example.com. Your CDN must be configured to proxy requests back to your WordPress site for this to work.

This is useful if your server is behind a firewall or has limited bandwidth, or if you want faster image loading in the Stokkap app for staff using it in-store or on mobile.

Advanced

  • Debug Logging - Writes detailed debug information to the WooCommerce status log (found at WooCommerce > Status > Logs). Leave this off unless you are troubleshooting an issue. Debug logs can grow quickly on busy stores.
  • Delete Data on Uninstall - When enabled, all Stokkap data is permanently deleted if the plugin is uninstalled (deleted, not just deactivated). This includes:

    • All locations and location types
    • Stock logs and webhook logs
    • Product meta data (location stock values, managed flags)

This is irreversible. Only enable this if you are certain you want a clean removal. Deactivating the plugin does not delete data regardless of this setting - it only takes effect when the plugin is fully deleted from WordPress.

  • Clear Logs - Immediately delete log entries. Choose from:

    • All Logs - Clears both webhook and stock logs
    • Webhook Logs - Clears only webhook delivery logs
    • Stock Logs - Clears only stock change history

    This is useful for freeing up database space on stores with high transaction volume, or for clearing test data after initial setup.

Saving settings

All settings on this page (except the connection and log clearing, which have their own buttons) are saved together by clicking Save Settings at the bottom of the page. Changes take effect immediately after saving.

Back to documentation