{"id":281465,"date":"2026-02-14T17:49:58","date_gmt":"2026-02-14T17:49:58","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/kitgenix-stock-sync-for-woocommerce\/"},"modified":"2026-08-31T19:43:43","modified_gmt":"2026-08-31T19:43:43","slug":"kitgenix-stock-sync-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/kitgenix-stock-sync-for-woocommerce\/","author":23310025,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"7.1","requires":"6.0","requires_php":"8.1","requires_plugins":null,"header_name":"Kitgenix Stock Sync for WooCommerce","header_author":"Kitgenix","header_description":"Securely sync WooCommerce stock between multiple stores using a master + child topology and signed REST requests.","assets_banners_color":"595c85","last_updated":"2026-08-31 19:43:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=KALF36K6JJ9B2","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/kitgenix-stock-sync-for-woocommerce\/","header_author_uri":"https:\/\/kitgenix.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":473,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"kitgenix","date":"2026-02-14 17:51:31","revision":3461458},"1.0.1":{"tag":"1.0.1","author":"kitgenix","date":"2026-02-19 22:14:22","revision":3465413},"1.0.2":{"tag":"1.0.2","author":"kitgenix","date":"2026-03-19 10:29:49","revision":3486342},"2.0.0":{"tag":"2.0.0","author":"kitgenix","date":"2026-08-31 19:43:43","revision":3674883}},"upgrade_notice":{"2.0.0":"<p>Adds versioned stock state so delayed\/duplicate\/replayed events can&#039;t corrupt stock, a Conflict Dashboard, a redesigned admin UI, WP-CLI, Site Health, and WooCommerce 11.0 compatibility. Migration is additive and idempotent \u2013 nothing existing is lost.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3674883,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3674883,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3674883,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3674883,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","2.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3674883,"resolution":"1","location":"assets","locale":"","width":1920,"height":938},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3674883,"resolution":"2","location":"assets","locale":"","width":1920,"height":1652},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3674883,"resolution":"3","location":"assets","locale":"","width":1934,"height":2457},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3674883,"resolution":"4","location":"assets","locale":"","width":1929,"height":3007},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3674883,"resolution":"5","location":"assets","locale":"","width":1920,"height":832},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3674883,"resolution":"6","location":"assets","locale":"","width":1920,"height":718}},"screenshots":{"1":"Status tab on a Master store, showing role, last inbound\/outbound timestamps, the last outbound error, and a per-store Connection Health table with status, last activity, and remote WooCommerce\/plugin versions for each connected Child.","2":"Configuration tab: store name, Master\/Child role, Strict checkout validation, the checkout failure strategy, last-known-stock max age, and excluded SKUs.","3":"Stores tab on a Master store: the Add Child Store form plus a Configured Children table listing each child's enabled state, URL, store ID, and shared secret.","4":"Tools tab: Test Connection, and the Master-only Reconcile (with scope, batch size, dry-run and differences-only options and last-run summary), Manual SKU Sync, and Audit Children panels.","5":"Conflicts tab: a generated report of GID mismatches, missing products, and mismatched SKUs between Master and Child stores.","6":"Logs tab: the Event Log with level, diagnostic code, message and context per entry, a diagnostic code reference table, and the Backlog of failed pushes awaiting retry."}},"plugin_section":[],"plugin_tags":[133531,152463,22912,171167,286],"plugin_category":[45],"plugin_contributors":[246171],"plugin_business_model":[],"class_list":["post-281465","plugin","type-plugin","status-publish","hentry","plugin_tags-backorders","plugin_tags-inventory-sync","plugin_tags-multistore","plugin_tags-stock-sync","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-kitgenix","plugin_committers-kitgenix"],"banners":{"banner":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/banner-772x250.png?rev=3674883","banner_2x":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/banner-1544x500.png?rev=3674883","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/icon-128x128.png?rev=3674883","icon_2x":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/icon-256x256.png?rev=3674883","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-1.png?rev=3674883","caption":"Status tab on a Master store, showing role, last inbound\/outbound timestamps, the last outbound error, and a per-store Connection Health table with status, last activity, and remote WooCommerce\/plugin versions for each connected Child."},{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-2.png?rev=3674883","caption":"Configuration tab: store name, Master\/Child role, Strict checkout validation, the checkout failure strategy, last-known-stock max age, and excluded SKUs."},{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-3.png?rev=3674883","caption":"Stores tab on a Master store: the Add Child Store form plus a Configured Children table listing each child's enabled state, URL, store ID, and shared secret."},{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-4.png?rev=3674883","caption":"Tools tab: Test Connection, and the Master-only Reconcile (with scope, batch size, dry-run and differences-only options and last-run summary), Manual SKU Sync, and Audit Children panels."},{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-5.png?rev=3674883","caption":"Conflicts tab: a generated report of GID mismatches, missing products, and mismatched SKUs between Master and Child stores."},{"src":"https:\/\/ps.w.org\/kitgenix-stock-sync-for-woocommerce\/assets\/screenshot-6.png?rev=3674883","caption":"Logs tab: the Event Log with level, diagnostic code, message and context per entry, a diagnostic code reference table, and the Backlog of failed pushes awaiting retry."}],"raw_content":"<!--section=description-->\n<p><strong>Kitgenix Stock Sync for WooCommerce<\/strong> synchronizes inventory between WooCommerce stores using a Master\/Child architecture. The Master store acts as the authoritative inventory source while Child stores send stock-changing events back to the Master and receive the resulting authoritative stock state.<\/p>\n\n<p>The plugin is built for merchants who sell the same physical inventory through several WooCommerce storefronts and need stock quantity, stock status and backorder behaviour to converge without manually exporting\/importing inventory files.<\/p>\n\n<p>Stores communicate directly over signed REST requests; there is no Kitgenix cloud stock relay. Background delivery uses WooCommerce Action Scheduler where available, with retries and backlog handling for temporary failures.<\/p>\n\n<p>Learn more about Kitgenix at <a href=\"https:\/\/kitgenix.com\/\">Kitgenix<\/a>.<\/p>\n\n<h4>WooCommerce Stock Sync Features<\/h4>\n\n<ul>\n<li>One authoritative Master store with one or more Child stores.<\/li>\n<li>SKU-based product\/variation matching plus plugin global IDs for stable identity.<\/li>\n<li>Synchronization of stock quantity.<\/li>\n<li>Synchronization of stock status.<\/li>\n<li>Synchronization of backorder setting.<\/li>\n<li>Synchronization of low-stock amount.<\/li>\n<li>Effective stock-management mode handling, including variation inheritance from a parent product.<\/li>\n<li>Automatic capture of WooCommerce stock-change hooks.<\/li>\n<li>Order-processing and stock-restoration handling.<\/li>\n<li>Asynchronous event delivery with retries\/backoff.<\/li>\n<li>Per-event version numbers to reject stale updates.<\/li>\n<li>Duplicate-event detection.<\/li>\n<li>Persistent backlog for recoverable failed deliveries.<\/li>\n<li>Conflict scanning and reconciliation tools.<\/li>\n<li>Strict Child-store checkout validation option.<\/li>\n<li>Cached stock snapshot\/failure strategy options for Master reachability problems.<\/li>\n<li>SKU rename tracking.<\/li>\n<li>Product\/SKU exclusions.<\/li>\n<li>Shared-secret rotation with overlap window.<\/li>\n<li>Signed REST authentication and replay protection.<\/li>\n<li>Scheduled health checks and connection status.<\/li>\n<li>WordPress Site Health integration.<\/li>\n<li>Event log and diagnostic code reference.<\/li>\n<li>WP-CLI status, audit\/reconcile, SKU and backlog tooling.<\/li>\n<li>WooCommerce HPOS compatibility handling.<\/li>\n<\/ul>\n\n<h4>Master and Child Architecture<\/h4>\n\n<p>The Master owns the authoritative stock state. A Child store can detect a local event that changes stock, send that event to the Master, and then receive the authoritative result that should be applied across the network.<\/p>\n\n<p>This avoids a simple \"last store to save wins\" design in which two storefronts can continually overwrite one another with stale quantities.<\/p>\n\n<p>The Master configuration stores the connected Child sites and the Child configuration stores the Master endpoint\/credentials needed for signed communication.<\/p>\n\n<h4>Inventory Fields Synchronized<\/h4>\n\n<p>The state payload includes the stock-related fields needed to keep WooCommerce availability consistent, including quantity, status, backorders, low-stock amount and effective manage-stock state.<\/p>\n\n<p>Variable products\/variations are handled with awareness that a variation may manage its own stock or inherit stock management from the parent product.<\/p>\n\n<p>The plugin focuses on stock. It is not a general product-catalogue synchronizer for descriptions, images, categories and full pricing; Kitgenix MultiStore Sync is a separate broader plugin for that use case.<\/p>\n\n<h4>Automatic Capture of Stock Changes<\/h4>\n\n<p>The sync engine hooks into WooCommerce product\/variation stock updates, stock-status updates, updated product properties, order processing and stock restoration. This means stock changes made by normal WooCommerce operations can enter the sync pipeline without staff having to click a separate \"export stock\" button.<\/p>\n\n<p>Because third-party integrations such as POS or marketplace connectors often write stock through WooCommerce's normal APIs\/hooks, their resulting WooCommerce stock changes can also be observed without the Kitgenix plugin calling the third party directly.<\/p>\n\n<h4>Event Versioning and Duplicate Protection<\/h4>\n\n<p>Each synchronized product carries plugin metadata used for global identity and event versioning. The receiver tracks the applied version so an older delayed event can be rejected instead of rolling stock backwards after a newer update has already been applied.<\/p>\n\n<p>Event IDs are also remembered for a limited period so a duplicated\/retried delivery is not applied as though it were a brand-new inventory movement.<\/p>\n\n<h4>Retry and Backlog Handling<\/h4>\n\n<p>Outbound failures are classified and retried using increasing delays. Recoverable failures can be persisted in a capped backlog so administrators can see that inventory delivery is pending rather than assuming a silent request succeeded.<\/p>\n\n<p>Backlog entries can be retried or discarded from the administrative tools when appropriate. Successful later delivery removes the corresponding outstanding item.<\/p>\n\n<h4>Reconciliation and Conflict Detection<\/h4>\n\n<p>The Master can scan Child stores and compare their current stock state with the authoritative record. Reconciliation processes products in batches and can continue through Action Scheduler rather than requiring a single long-running browser request.<\/p>\n\n<p>Conflict reports can identify mismatched stock or duplicate-SKU conditions that need manual attention. The plugin also exposes audit\/reconciliation functionality through WP-CLI.<\/p>\n\n<h4>Strict Checkout Validation<\/h4>\n\n<p>A Child store can optionally validate cart quantities against the Master during checkout. This is intended to reduce overselling when the local storefront's last synchronized value is older than the authoritative stock.<\/p>\n\n<p>Because the Master can be temporarily unreachable, the plugin includes configurable behaviour around failure and stale cached stock snapshots. Stores should choose a strategy that matches whether they prefer checkout availability or strict oversell prevention during network outages.<\/p>\n\n<h4>SKU Rename Handling<\/h4>\n\n<p>The plugin observes SKU metadata changes so identity can remain consistent when a product's SKU is edited. Global plugin IDs provide another stable identifier used by the sync process, reducing dependence on the assumption that a SKU can never change.<\/p>\n\n<h4>Exclusions<\/h4>\n\n<p>Administrators can exclude specific SKUs from stock synchronization. Excluded products are ignored by normal event delivery and reconciliation so local-only inventory is not continually overwritten.<\/p>\n\n<h4>Secure Signed REST Requests<\/h4>\n\n<p>Master and Child REST requests are signed using the shared-secret authentication layer. Requests include timing\/identity information and are rejected when they are invalid, too large, outside the accepted window or fail replay\/authentication checks.<\/p>\n\n<p>The security layer also contains throttling\/temporary lockout behaviour for repeated authentication failures and remote URL validation.<\/p>\n\n<p>Shared secrets can be rotated with a configured overlap period so a network can move from an old secret to a new one without requiring every in-flight request to fail at the exact rotation second.<\/p>\n\n<h4>Health Monitoring<\/h4>\n\n<p>Scheduled health pings update the stored connection status for the Master\/Child relationship. The admin interface and Site Health integration can report configuration, connectivity, backlog and Action Scheduler concerns.<\/p>\n\n<h4>WP-CLI<\/h4>\n\n<p>The command base is:<\/p>\n\n<pre><code>wp kitgenix-stock-sync\n<\/code><\/pre>\n\n<p>The command class includes status, audit\/reconciliation, SKU-level actions, backlog\/conflict tooling and formatting helpers for operational use from the command line.<\/p>\n\n<h4>Direct Store-to-Store Data Flow<\/h4>\n\n<p>Stock events and stock-state queries are sent only between the WooCommerce sites configured by the administrator. Kitgenix does not receive the store's inventory feed or act as a remote source of truth.<\/p>\n\n<p>The shared Kitgenix admin Hub can separately request public plugin metadata from WordPress.org, and the admin stylesheet imports Google Fonts as documented in <strong>External Services<\/strong>. Those requests do not contain WooCommerce stock payloads.<\/p>\n\n<h4>Typical Uses<\/h4>\n\n<ul>\n<li>Separate retail and wholesale WooCommerce stores sharing one warehouse quantity.<\/li>\n<li>UK and Ireland storefronts selling from the same physical stock pool.<\/li>\n<li>Brand\/domain-specific stores that must not oversell shared inventory.<\/li>\n<li>A POS\/integration updating the Master while web storefronts follow the authoritative result.<\/li>\n<li>Stores that need backorder and stock-status behaviour kept consistent as well as the numeric quantity.<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This is a store-to-store sync plugin, so connecting to remote services is core to how it works. It talks to two kinds of external endpoint:<\/p>\n\n<p><strong>1. Your own WooCommerce stores (Master and Child)<\/strong><\/p>\n\n<p>The plugin makes signed REST API requests directly between the WordPress\/WooCommerce sites you configure as Master and Child \u2013 it does not route data through any Kitgenix server or third-party service. Master and Child URLs must use HTTPS (a filter allows plain <code>http:\/\/<\/code> only for <code>localhost<\/code>\/<code>.local<\/code>\/<code>.test<\/code> hosts for local development).<\/p>\n\n<ul>\n<li><strong>What is sent:<\/strong> product SKUs; stock state (quantity, stock status, backorders, low stock amount, effective stock-management mode); a per-product monotonic version counter and timestamp (see How Stock Sync Works); and, only via the <code>\/ping<\/code> health-check route, the sending store's name and its WooCommerce\/plugin version. Strict checkout validation additionally sends the SKUs currently in a Child's cart to the Master for a live stock check.<\/li>\n<li><strong>When it happens:<\/strong> automatically, in real time, whenever WooCommerce itself changes a product's stock (an order, refund, cancellation, REST edit, CSV import, or a compatible integration such as WooCommerce Square) \u2013 dispatched asynchronously via Action Scheduler. There is no polling interval to configure. A recurring health-check ping additionally runs roughly every 15 minutes per configured store, and Reconcile\/Audit\/Manual SKU Sync send requests on demand when you trigger them.<\/li>\n<li><strong>Authentication:<\/strong> every request carries <code>X-Kitgenix-Store-Id<\/code>, <code>X-Kitgenix-Timestamp<\/code>, <code>X-Kitgenix-Nonce<\/code>, and an <code>X-Kitgenix-Signature<\/code> HMAC-SHA256 header computed from a shared secret you configure on both sides \u2013 see Developer Reference below for the full scheme.<\/li>\n<li><strong>Caching:<\/strong> a last-known-good stock snapshot per SKU is cached (transient, 24 hours) on Child stores solely to support the optional \"use last-known stock\" checkout failure strategy; a GID \u2192 product ID lookup is cached in the object cache (~1 hour) if a persistent object cache is active.<\/li>\n<\/ul>\n\n<p><strong>2. WordPress.org Plugins API (admin screen only, not part of stock sync)<\/strong><\/p>\n\n<p>The plugin includes a shared \"Kitgenix hub\" admin page (Kitgenix \u2192 top-level menu) listing other Kitgenix plugins. To populate install counts, ratings, and artwork for plugins listed there, it calls WordPress core's own <code>plugins_api()<\/code> function, which requests public plugin metadata from <code>api.wordpress.org<\/code>. No site data, settings, or stock information is sent in these requests \u2013 only the public plugin slugs of the Kitgenix plugins shown on that page.<\/p>\n\n<ul>\n<li>Cached via transients: <code>kitgenix_hub_wporg_active_installs_v1<\/code>, <code>kitgenix_hub_wporg_ratings_v1<\/code>, <code>kitgenix_hub_wporg_media_v1<\/code> (24 hours each).<\/li>\n<li>This lookup only runs when a logged-in administrator views the Kitgenix hub screen; it never runs on the front end and is unrelated to stock synchronisation.<\/li>\n<\/ul>\n\n<p>No other third-party services, SaaS platforms, or analytics\/tracking endpoints are contacted by this plugin.<\/p>\n\n<h3>Developer Reference<\/h3>\n\n<p>Text domain:\n    kitgenix-stock-sync-for-woocommerce<\/p>\n\n<p>Option key:\n* <code>kitgenix_stock_sync_for_woocommerce_settings<\/code><\/p>\n\n<p>Option schema (high-level):\n* <code>this_store_id<\/code>, <code>this_store_name<\/code>, <code>role<\/code>, <code>strict_checkout_validation<\/code>, <code>schema_version<\/code>\n* <code>checkout_validation_failure_strategy<\/code> (<code>fail_open<\/code> | <code>fail_closed<\/code> | <code>stale_cache<\/code>), <code>checkout_stale_cache_minutes<\/code>\n* <code>master<\/code> (child config): <code>url<\/code>, <code>store_id<\/code>, <code>secret<\/code>, <code>secret_previous<\/code>, <code>secret_previous_expires_at<\/code>, <code>health<\/code>\n* <code>children<\/code> (master config): entries with <code>id<\/code>, <code>name<\/code>, <code>url<\/code>, <code>secret<\/code>, <code>secret_previous<\/code>, <code>secret_previous_expires_at<\/code>, <code>enabled<\/code>, <code>health<\/code>\n* <code>exclusions.skus<\/code>\n* <code>conflicts_report<\/code>: <code>{generated_at, items[]}<\/code> \u2013 each item has <code>type<\/code>, <code>sku<\/code>, <code>gid<\/code>, <code>child_id<\/code>, <code>child_name<\/code>, <code>master_value<\/code>, <code>child_value<\/code>, <code>detail<\/code>\n* Diagnostics\/admin UI state: <code>notices<\/code>, <code>event_log<\/code>, <code>backlog<\/code> (v2: <code>id<\/code>, <code>type<\/code>, <code>store_id<\/code>, <code>attempt<\/code>, <code>status<\/code>, <code>next_retry_at<\/code>, <code>payload<\/code>, <code>payload_meta<\/code>, <code>error<\/code>, <code>code<\/code>), <code>reconcile<\/code> (v2: <code>mode<\/code>, <code>dry_run<\/code>, <code>differences_only<\/code>, <code>selected_skus<\/code>, <code>processed<\/code>, <code>total_estimate<\/code>, <code>differences_found<\/code>, <code>pushed_count<\/code>, <code>started_at<\/code>, <code>finished_at<\/code>, <code>last_batch_at<\/code>), <code>health<\/code> (this store's own global health, retained alongside the newer per-store <code>master<\/code>\/<code>children[].health<\/code>)<\/p>\n\n<p>Product\/variation meta keys:\n* <code>_kitgenix_stock_sync_for_woocommerce_gid<\/code> \u2013 stable cross-store identity, survives SKU renames. Never regenerated once set.\n* <code>_kitgenix_stock_sync_for_woocommerce_version<\/code> \u2013 Master-authoritative monotonic version counter, bumped on every authoritative capture.\n* <code>_kitgenix_stock_sync_for_woocommerce_applied_version<\/code> \u2013 last version a receiving store actually applied; the staleness-fencing guard.<\/p>\n\n<p>REST API routes (POST):\n* <code>\/wp-json\/kitgenix-stock-sync\/v1\/ping<\/code> \u2013 returns <code>wc_version<\/code> and <code>plugin_version<\/code>\n* <code>\/wp-json\/kitgenix-stock-sync\/v1\/event<\/code>\n* <code>\/wp-json\/kitgenix-stock-sync\/v1\/stock<\/code> (master only; used by strict checkout validation)\n* <code>\/wp-json\/kitgenix-stock-sync\/v1\/stock-state<\/code> (used by audit\/reconcile\/conflict comparisons; returns <code>gid<\/code> and effective <code>manage_stock<\/code>)<\/p>\n\n<p>All four routes register with <code>permission_callback =&gt; __return_true<\/code> and perform authentication inside the callback via the signed-request headers below \u2013 this is intentional (a signed server-to-server webhook has no WordPress user\/cookie\/application-password to authenticate against) and not a missing-permission-callback oversight.<\/p>\n\n<p>Authentication headers:\n* <code>X-Kitgenix-Store-Id<\/code>\n* <code>X-Kitgenix-Timestamp<\/code>\n* <code>X-Kitgenix-Nonce<\/code>\n* <code>X-Kitgenix-Signature<\/code><\/p>\n\n<p>Signatures:\n* HMAC SHA-256 over: <code>timestamp + \"\\n\" + nonce + \"\\n\" + request_body<\/code>\n* Timing-safe comparison (<code>hash_equals<\/code>)\n* Timestamp skew allowed: 5 minutes\n* Nonce replay protection stored via transients; a nonce is only consumed once a request is confirmed authentic, so a wrong signature can't burn a legitimate nonce slot\n* Verification tries the current secret, then a rotated-out previous secret if it hasn't expired (see \"Rotate Secret\")\n* Request bodies over 2MB are rejected before any HMAC work\n* Repeated authentication failures from the same sender trigger a temporary lockout (20 failures \/ 10 minutes \u2192 15 minute lockout)\n* All authentication failure responses are a single generic 401 (detailed reason logged internally only) so a caller cannot enumerate which store IDs are configured<\/p>\n\n<p>Action Scheduler hooks:\n* (Action group: <code>kitgenix-stock-sync<\/code>)\n* <code>kitgenix_stock_sync_for_woocommerce_process_event<\/code>\n* <code>kitgenix_stock_sync_for_woocommerce_push_to_store<\/code> \u2013 used for both the initial async dispatch (attempt 1) and scheduled retries of the same delivery (attempt &gt; 1)\n* <code>kitgenix_stock_sync_for_woocommerce_send_to_master<\/code> \u2013 same dual purpose, Child \u2192 Master direction\n* <code>kitgenix_stock_sync_for_woocommerce_reconcile_batch<\/code>\n* <code>kitgenix_stock_sync_for_woocommerce_process_order_processing<\/code>\n* <code>kitgenix_stock_sync_for_woocommerce_health_ping<\/code> \u2013 recurring, ~15 minutes<\/p>\n\n<p>Admin capability:\n* <code>manage_woocommerce<\/code><\/p>\n\n<p>Admin nonces:\n* <code>kss_save_config<\/code>\n* <code>kss_save_connection<\/code>\n* <code>kss_save_children<\/code>\n* <code>kss_test_connection<\/code>\n* <code>kss_tools<\/code>\n* <code>kss_conflicts<\/code>\n* <code>kss_logs<\/code><\/p>\n\n<p>Filters:\n* <code>kitgenix_stock_sync_for_woocommerce_parent_menu_slug<\/code> (change the parent menu slug; default: <code>kitgenix<\/code>)\n* <code>kitgenix_stock_sync_for_woocommerce_secret_rotation_overlap<\/code> (seconds a rotated-out secret keeps working; default 86400, clamped to 1 hour\u20137 days)\n* <code>kitgenix_stock_sync_for_woocommerce_allow_insecure_url<\/code> (return <code>true<\/code> to allow <code>http:\/\/<\/code> for <code>localhost<\/code>\/<code>.local<\/code>\/<code>.test<\/code> hosts only \u2013 never for a real remote host)<\/p>\n\n<p>Transients (dynamic keys):\n* <code>kitgenix_stock_sync_for_woocommerce_do_activation_redirect<\/code> (30 seconds)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_nonce_{md5(store_id|nonce)}<\/code> (nonce replay protection, 10 minutes)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_seen_{md5(event_id)}<\/code> (duplicate event detection, 24 hours)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_debounce_{md5(key)}<\/code> (debounce, ~2 seconds)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_old_sku_{post_id}<\/code> (SKU rename helper, 60 seconds)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_audit_result_{user_id}<\/code> (stores last audit result in wp-admin, 10 minutes)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_stockcache_{md5(sku)}<\/code> (last-known-good stock snapshot for the <code>stale_cache<\/code> checkout strategy, 24 hours; a per-item <code>cached_at<\/code> timestamp \u2013 not the transient TTL \u2013 enforces the merchant-configured max age)\n* <code>kitgenix_stock_sync_for_woocommerce_kss_authfail_{md5(identity)}<\/code> \/ <code>..._kss_lockout_{md5(identity)}<\/code> (brute-force throttle)<\/p>\n\n<p>Object cache (if persistent object cache is enabled):\n* Cache group: <code>kitgenix_stock_sync<\/code>\n* Key: <code>kitgenix_stock_sync_for_woocommerce_kss_gid_{md5(gid)}<\/code> (GID \u2192 product ID lookup, ~1 hour)<\/p>\n\n<p>Internal action hooks (called directly, but can be hooked):\n* <code>kitgenix_stock_sync_for_woocommerce_process_order_processing<\/code><\/p>\n\n<h4>WP-CLI<\/h4>\n\n<pre><code>wp kitgenix-stock-sync status [--format=&lt;table|json|yaml&gt;]\n<\/code><\/pre>\n\n<p>Role, store ID, and a per-store connection health summary.<\/p>\n\n<pre><code>wp kitgenix-stock-sync audit --skus=&lt;a,b,c&gt; [--format=&lt;table|json&gt;]\n<\/code><\/pre>\n\n<p>Master only. Compare Master vs. every configured Child for the given SKUs.<\/p>\n\n<pre><code>wp kitgenix-stock-sync reconcile [--skus=&lt;a,b,c&gt;] [--dry-run] [--differences-only] [--batch=&lt;n&gt;]\n<\/code><\/pre>\n\n<p>Master only. Runs to completion synchronously (with a progress bar) rather than relying on Action Scheduler's own timing, so the command reports a real result. Omit <code>--skus<\/code> to reconcile the whole catalogue.<\/p>\n\n<pre><code>wp kitgenix-stock-sync sku push &lt;sku&gt;...\n<\/code><\/pre>\n\n<p>Master only. Push specific SKUs to all children immediately.<\/p>\n\n<pre><code>wp kitgenix-stock-sync backlog list|retry &lt;id&gt;|discard &lt;id&gt;|retry-all|discard-all [--yes]\n<\/code><\/pre>\n\n<p>Inspect and manage the backlog. <code>discard<\/code>\/<code>discard-all<\/code> prompt for confirmation unless <code>--yes<\/code> is passed.<\/p>\n\n<pre><code>wp kitgenix-stock-sync conflicts [--rescan] [--format=&lt;table|json&gt;]\n<\/code><\/pre>\n\n<p>Print the current Conflict Dashboard report; <code>--rescan<\/code> runs a fresh duplicate-SKU scan first (Master only).<\/p>\n\n<h3>Security &amp; Privacy<\/h3>\n\n<ul>\n<li>No tracking cookies are added by this plugin.<\/li>\n<li>Admin actions are protected with nonces and capability checks.<\/li>\n<li>REST requests are authenticated using HMAC-SHA256 signatures (timing-safe comparison) with timestamp + nonce replay protection, a request-size cap, and a brute-force lockout on repeated authentication failures.<\/li>\n<li>Authentication failure responses are generic (a single 401) so a caller cannot enumerate configured store pairings; the specific reason is only recorded in this store's own Event Log.<\/li>\n<li>Master\/Child URLs must use HTTPS (loopback\/<code>.local<\/code>\/<code>.test<\/code> hosts can opt into <code>http:\/\/<\/code> for local development only, via a filter).<\/li>\n<li>Shared secrets are stored in the plugin settings option (<code>kitgenix_stock_sync_for_woocommerce_settings<\/code>), the same way most WordPress integrations store API credentials. Treat secrets like passwords. Secrets are never written to the Event Log, the Backlog, or WooCommerce's own logs.<\/li>\n<li>Secrets can be rotated from the Stores tab with a short overlap window so both sides of a pairing can be updated without an outage.<\/li>\n<li>Site Health's diagnostic \"Info\" section deliberately excludes secrets and full store URLs \u2013 only booleans, counts, and timestamps.<\/li>\n<\/ul>\n\n<h3>Uninstall<\/h3>\n\n<p>This plugin removes its settings and plugin-only transients on uninstall. It does not remove WooCommerce product\/order meta or Action Scheduler records \u2013 this is intentional  &hellip;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install via Plugins \u2192 Add New and search for \"Kitgenix Stock Sync for WooCommerce\", or upload the ZIP to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin (WooCommerce required \u2013 the plugin will deactivate itself if WooCommerce isn't active).<\/li>\n<li>Open the settings under the Kitgenix hub (Kitgenix \u2192 Stock Sync).<\/li>\n<li>Decide which store is the Master and which are Children, then configure the connection on each: Master\/Child URLs must use HTTPS, plus a Store ID and a shared secret.<\/li>\n<li>Use Test Connection to confirm each pairing before relying on it.<\/li>\n<li>Run a Reconcile on the Master to establish stable GIDs and push the current stock state to every Child.<\/li>\n<li>Optional: enable Strict checkout validation on Child stores and choose a failure strategy.<\/li>\n<li>Optional: server administrators can also drive setup checks and operations via WP-CLI (<code>wp kitgenix-stock-sync status<\/code>) \u2013 see the developer reference below.<\/li>\n<\/ol>\n\n<p>The plugin cannot sync anything until at least one Master and one Child are configured and connected \u2013 there is no default or automatic pairing.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20stock%20drift%3F\"><h3>What is stock drift?<\/h3><\/dt>\n<dd><p>Stock drift happens when you update stock on one WooCommerce store but another connected store still shows the old quantity. Left unresolved, it leads to oversells, customer frustration, and messy fulfilment. This plugin prevents stock drift by keeping one authoritative Master store's stock state in sync with all Child stores.<\/p><\/dd>\n<dt id=\"does%20this%20require%20woocommerce%3F\"><h3>Does this require WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. This plugin hooks WooCommerce product stock APIs and requires WooCommerce to be active.<\/p><\/dd>\n<dt id=\"how%20often%20does%20stock%20sync%20run%3F\"><h3>How often does stock sync run?<\/h3><\/dt>\n<dd><p>There is no fixed interval or polling schedule. Stock changes are captured and sent the moment WooCommerce itself changes stock, dispatched asynchronously via Action Scheduler \u2013 typically within seconds. A separate recurring health-check ping runs roughly every 15 minutes purely to keep connection status current, not to sync stock.<\/p><\/dd>\n<dt id=\"what%20format%20does%20the%20feed%20or%20import%20file%20need%20to%20be%3F\"><h3>What format does the feed or import file need to be?<\/h3><\/dt>\n<dd><p>There is no feed file or CSV import involved in the sync itself. This plugin does not read a feed URL or file \u2013 it connects directly, over authenticated REST API calls, to the other WooCommerce store(s) you configure as Master or Child. If you separately import stock into WooCommerce via CSV, that import triggers WooCommerce's own stock-update hooks, which this plugin then syncs like any other stock change.<\/p><\/dd>\n<dt id=\"can%20i%20sync%20from%20multiple%20sources%3F\"><h3>Can I sync from multiple sources?<\/h3><\/dt>\n<dd><p>This plugin uses a single-Master, multiple-Child model: one authoritative Master store can push stock to any number of Child stores, but only one store may act as Master at a time. It does not support pulling stock from multiple independent Master sources into one store.<\/p><\/dd>\n<dt id=\"how%20do%20i%20set%20up%20master%20and%20child%20stores%3F\"><h3>How do I set up Master and Child stores?<\/h3><\/dt>\n<dd><p>Install and activate the plugin on the Master store and every Child store, then choose a role for each: one store as Master, all others as Child. On each Child, enter the Master's connection details (HTTPS URL, Master Store ID, and Shared Secret); on the Master, add each Child the same way. Use Test Connection to verify the link, then run Reconcile on the Master to establish stable GIDs and push the initial stock state. See Quick Start above for the full walkthrough.<\/p><\/dd>\n<dt id=\"can%20i%20use%20more%20than%20one%20master%20store%3F\"><h3>Can I use more than one Master store?<\/h3><\/dt>\n<dd><p>No. This plugin is designed for a single authoritative Master store and one or more children.<\/p><\/dd>\n<dt id=\"does%20it%20sync%20product%20data%20%28title%2C%20price%2C%20images%29%20or%20orders%3F\"><h3>Does it sync product data (title, price, images) or orders?<\/h3><\/dt>\n<dd><p>No. It syncs stock state only.<\/p><\/dd>\n<dt id=\"what%20stock%20fields%20are%20synced%3F\"><h3>What stock fields are synced?<\/h3><\/dt>\n<dd><p>Per SKU: stock quantity, stock status, backorders, and low stock amount.<\/p><\/dd>\n<dt id=\"is%20stock%20sync%20automatic%2C%20or%20do%20i%20need%20to%20trigger%20it%20manually%3F\"><h3>Is stock sync automatic, or do I need to trigger it manually?<\/h3><\/dt>\n<dd><p>Sync is automatic. Stock changes are captured the moment WooCommerce itself changes stock (an order, a refund, a CSV import, a REST edit, or a third-party integration) and dispatched asynchronously through Action Scheduler \u2013 there's no schedule to configure and no file to upload. Manual tools (Reconcile, Manual SKU Sync) exist for initial setup and troubleshooting, not for day-to-day operation.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20variable%20products%20and%20variations%3F\"><h3>Does this plugin support variable products and variations?<\/h3><\/dt>\n<dd><p>Yes. Variations are synced by their own variation SKU, including variations that inherit stock management from their parent product.<\/p><\/dd>\n<dt id=\"are%20any%20product%20types%20excluded%3F\"><h3>Are any product types excluded?<\/h3><\/dt>\n<dd><p>External\/Affiliate and Grouped products are skipped for stock syncing (these types are not stock-managed in WooCommerce).<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20woocommerce%20high-performance%20order%20storage%20%28hpos%29%3F\"><h3>Does this plugin work with WooCommerce High-Performance Order Storage (HPOS)?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares compatibility with WooCommerce's custom order tables (HPOS) feature.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20a%20child%20store%20is%20offline%3F\"><h3>What happens if a child store is offline?<\/h3><\/dt>\n<dd><p>Failed pushes are recorded in the Backlog (with reason, attempt count, and next retry time) and retried automatically using WooCommerce's Action Scheduler with an increasing delay, up to a bounded number of attempts. Once that budget is exhausted, the item is marked for manual attention \u2013 it will not retry forever \u2013 and can be retried or discarded (with confirmation) from the Logs tab or WP-CLI.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20the%20master%20is%20unreachable%20during%20checkout%20validation%3F\"><h3>What happens if the Master is unreachable during checkout validation?<\/h3><\/dt>\n<dd><p>Depends on the configured failure strategy (Configuration tab): fail-open (default, allows checkout), fail-closed (blocks checkout), or use last-known stock (applies a recent cached snapshot if it's fresh enough, otherwise falls back to fail-open). A definitive out-of-stock\/insufficient response from a <em>reachable<\/em> Master always blocks checkout, regardless of this setting.<\/p><\/dd>\n<dt id=\"where%20can%20i%20view%20the%20sync%20logs%3F\"><h3>Where can I view the sync logs?<\/h3><\/dt>\n<dd><ul>\n<li>WooCommerce \u2192 Status \u2192 Logs (source: <code>kitgenix-stock-sync-for-woocommerce<\/code>)<\/li>\n<li>Kitgenix \u2192 Stock Sync \u2192 Logs tab (Event Log + Backlog)<\/li>\n<\/ul><\/dd>\n<dt id=\"how%20do%20i%20exclude%20specific%20skus%20from%20syncing%3F\"><h3>How do I exclude specific SKUs from syncing?<\/h3><\/dt>\n<dd><p>Add SKUs in Configuration \u2192 Exclusions. Excluded SKUs are ignored across all sync and tooling paths.<\/p><\/dd>\n<dt id=\"can%20a%20delayed%2C%20duplicated%2C%20or%20retried%20event%20corrupt%20my%20stock%3F\"><h3>Can a delayed, duplicated, or retried event corrupt my stock?<\/h3><\/dt>\n<dd><p>No. Every authoritative item the Master sends carries a monotonically increasing per-product version number. A receiving store records the last version it applied and ignores anything that arrives with an equal or older version \u2013 so a delayed event, a retried send, or a replayed request can never overwrite already-current stock, regardless of delivery order. This is in addition to (not instead of) transport-level duplicate detection via each event's unique ID.<\/p><\/dd>\n<dt id=\"how%20does%20this%20plugin%20handle%20woocommerce%2011.0%27s%20failed-order%20stock%20restoration%3F\"><h3>How does this plugin handle WooCommerce 11.0's failed-order stock restoration?<\/h3><\/dt>\n<dd><p>WooCommerce 11.0 now restores previously-reduced stock when an order moves to <code>failed<\/code> (not just <code>cancelled<\/code>\/<code>pending<\/code>), guarded by WooCommerce's own \"was stock actually reduced for this order\" flag so it never double-adjusts. This plugin does not reimplement that arithmetic \u2013 it reads the resulting WooCommerce stock state after WooCommerce has made the change and synchronises that, so the 11.0 behaviour change is handled automatically with no plugin-specific logic required.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20woocommerce%20square%3F\"><h3>Does this work with WooCommerce Square?<\/h3><\/dt>\n<dd><p>Yes. When Square changes a product's stock on a WooCommerce store, it does so through WooCommerce's own stock-update APIs, which this plugin already listens to \u2013 no Square-specific code is needed. If that store is the Master, the change propagates to all Children. If it's a Child, the change is sent to the Master, which rebuilds the authoritative state and fans it out to every <em>other<\/em> Child (not back to the one that sent it), which is what prevents a feedback loop.<\/p><\/dd>\n<dt id=\"can%20i%20rotate%20a%20shared%20secret%20without%20breaking%20sync%3F\"><h3>Can I rotate a shared secret without breaking sync?<\/h3><\/dt>\n<dd><p>Yes. Use \"Rotate Secret\" on the Stores tab (this is an admin-UI action; there is no WP-CLI equivalent). The old secret keeps working for a short overlap window (default 24 hours, filterable) so you can update the other store before it expires.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20wp-cli%3F\"><h3>Does this plugin support WP-CLI?<\/h3><\/dt>\n<dd><p>Yes \u2013 see the developer reference above for the full command list (<code>wp kitgenix-stock-sync status|audit|reconcile|sku|backlog|conflicts<\/code>).<\/p><\/dd>\n<dt id=\"does%20this%20add%20any%20wordpress%20site%20health%20checks%3F\"><h3>Does this add any WordPress Site Health checks?<\/h3><\/dt>\n<dd><p>Yes. Site Health \u2192 Status includes checks for role\/connection configuration, connection health, backlog items needing attention, and Action Scheduler availability. Site Health \u2192 Info includes a non-secret diagnostic section (role, store ID, counts, timestamps) \u2013 shared secrets and store URLs' credentials are never included.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20connect%20to%20any%20third-party%20services%3F\"><h3>Does this plugin connect to any third-party services?<\/h3><\/dt>\n<dd><p>It connects directly between your own WordPress\/WooCommerce sites over authenticated REST requests \u2013 no third-party sync service is involved. The only outside call is an optional, admin-only lookup of public WordPress.org plugin metadata (install counts, ratings, artwork) for the \"Kitgenix hub\" screen; see External Services above for full details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0 (31 August 2026)<\/h4>\n\n<ul>\n<li>New: Redesigned the entire admin settings screen around the shared Kitgenix design system \u2013 card-based sections, stat tiles, status badges, and toggle switches replace the old WordPress form tables and status tables.<\/li>\n<li>New: Added a sticky topbar with the Kitgenix brand, plugin name\/version, tab navigation, a link to the Kitgenix Hub, and a mobile hamburger menu, replacing the previous nav-tab bar and static page header.<\/li>\n<li>New: Added an in-page settings search (topbar search panel with \"\/\" and Cmd\/Ctrl+K shortcuts) that filters cards and rows on the active tab as you type.<\/li>\n<li>New: Added a light\/dark theme toggle for the admin UI; the chosen theme is remembered in the browser.<\/li>\n<li>New: Editing or removing a Child store on the Stores tab now opens an accessible modal dialog instead of an inline form and a JavaScript confirm() prompt.<\/li>\n<li>New: Event Log and Backlog tables on the Logs tab now support live search\/filtering, colour-coded status badges, and empty-state messaging.<\/li>\n<li>New: Event Log and Backlog tables are now paginated (25 rows per page) so a busy store's history doesn't turn into one long scroll.<\/li>\n<li>New: Added a diagnostic code reference table to the Logs tab explaining what each recorded category means and whether it needs action.<\/li>\n<li>New: Added versioned stock state. Every authoritative item now carries a monotonically increasing per-product version; a receiving store records the last version it applied and ignores anything arriving with an equal or older version. Delayed, duplicated, retried, and out-of-order events can no longer overwrite already-current stock.<\/li>\n<li>New: Added an event envelope. Every sync event now has a stable unique ID plus origin store, creation time, delivery-attempt count, and a schema version \u2013 carried through retries rather than regenerated per attempt.<\/li>\n<li>New: Added a Conflict Dashboard tab covering missing products, missing or duplicate SKUs, GID mismatches, quantity\/backorder\/stock-status mismatches, Child stores being offline, and authentication errors.<\/li>\n<li>New: Conflict Dashboard results can now be populated by Audit, Reconcile dry-runs\/difference checks, and a dedicated duplicate-SKU scan.<\/li>\n<li>New: Reconcile now supports selected SKUs instead of requiring all products to be processed.<\/li>\n<li>New: Added Reconcile dry-run mode so differences can be reviewed without changing stock.<\/li>\n<li>New: Added a push-differences-only mode to Reconcile.<\/li>\n<li>New: Added Reconcile run summaries showing processed products, detected differences, and pushed updates.<\/li>\n<li>New: Added Resume and Cancel controls for in-progress Reconcile runs.<\/li>\n<li>New: Added Backlog v2. Failed push\/send attempts now retain their complete payload, stable event ID, status, and next-retry time so queued events can be resent correctly.<\/li>\n<li>New: Added per-item manual Retry controls to the Backlog.<\/li>\n<li>New: Added per-item Discard controls with confirmation to the Backlog.<\/li>\n<li>New: Added a bounded retry policy so deliveries that exhaust their retry budget are marked for manual attention instead of retrying indefinitely.<\/li>\n<li>New: Added per-store Connection Health tracking, replacing the previous single global set of health fields regardless of how many Child stores were configured.<\/li>\n<li>New: Connection Health now records last inbound communication, last outbound communication, last successful communication, last error, remote WooCommerce version, remote plugin version, and a derived connection status.<\/li>\n<li>New: Added a recurring health-check ping to keep per-store connection status current.<\/li>\n<li>New: Added merchant-configurable strict checkout validation failure strategies \u2013 fail open, fail closed, or use a last-known-good stock snapshot with a configurable maximum age.<\/li>\n<li>New: Added safe shared-secret rotation from the Stores tab, including a configurable overlap window so both sides of a store pairing can be updated without interrupting synchronisation.<\/li>\n<li>New: Added WP-CLI commands for server administrators: <code>wp kitgenix-stock-sync status<\/code>, <code>audit<\/code>, <code>reconcile<\/code>, <code>sku<\/code>, <code>backlog<\/code>, and <code>conflicts<\/code>.<\/li>\n<li>New: Added WordPress Site Health Status checks for role\/connection configuration, connection health, backlog items requiring attention, and Action Scheduler availability.<\/li>\n<li>New: Added a non-secret Kitgenix Stock Sync diagnostic section to WordPress Site Health \u2192 Info.<\/li>\n<li>Improved: Authentication rejections between stores \u2013 including missing signatures, bad timestamps, clock drift, replayed requests, and invalid signatures \u2013 are now recorded in the Event Log, with clock drift and replayed requests flagged as routine rather than genuine security concerns.<\/li>\n<li>Improved: Sync failures between stores now distinguish temporary network or connection issues from genuine rejections such as bad configuration or hard errors in both the Event Log and the Status tab's health indicator.<\/li>\n<li>Improved: The Support tab is now three focused cards \u2013 a donate card with a collapsible monthly-amount picker, a \"what your support funds\" summary, and a single \"get involved\" panel for reviews, plugin links, and community \u2013 replacing the previous stack of donate\/trust\/community cards and sidebar.<\/li>\n<li>Improved: Audit Children results are now grouped into collapsible per-child cards instead of one long flat list.<\/li>\n<li>Improved: The Kitgenix Hub page now shares the same topbar and card design system as the plugin settings screens and shows installed\/active plugin counts alongside each listing.<\/li>\n<li>Improved: Added the Image Optimizer plugin to the Kitgenix Hub's plugin list and updated the MultiStore Sync entry to the renamed \"MultiStore for WooCommerce\" plugin with its new slug and page.<\/li>\n<li>Improved: Refreshed the Kitgenix brand logo and favicon assets with new primary, dark, white, and black variants, including tagline versions, and updated the admin menu icon.<\/li>\n<li>Improved: Outbound stock changes are now coalesced per request, so every product touched by a single operation \u2013 such as one order's line items \u2013 is sent as a single event instead of generating one network request per WooCommerce hook.<\/li>\n<li>Improved: The Master's real-time push to Child stores now dispatches asynchronously through Action Scheduler instead of blocking the request that triggered the stock change, matching the behaviour already used by bulk tools.<\/li>\n<li>Improved: The Master no longer echoes an incoming event back to the Child store that sent it, eliminating an unnecessary round trip and preventing integrations such as WooCommerce Square from creating stock-sync feedback loops when driving a Child store's local inventory.<\/li>\n<li>Improved: Variations that inherit stock management from their parent using WooCommerce's \"parent\" stock-management mode are now synchronised and applied faithfully instead of being forced into independently managed stock.<\/li>\n<li>Improved: Strict checkout validation continues to block checkout in every failure strategy when a reachable Master definitively reports that an item is out of stock or has insufficient quantity.<\/li>\n<li>Fix: The settings sidebar now sticks flush beneath the topbar based on its real measured height instead of a fixed guessed offset, preventing overlap when the topbar wraps to two lines on narrower screens.<\/li>\n<li>Fix: Number inputs across the settings screens are no longer cramped to a fixed 50px width.<\/li>\n<li>Fix: Corrected order stock-reduction\/restoration handling where the suppression flag was previously being set after WooCommerce had already fired the per-item stock hooks it was intended to suppress.<\/li>\n<li>Fix: Replaced the previous order-level suppression workaround with request-scoped stock-change coalescing, removing the dependency on WooCommerce hook ordering entirely.<\/li>\n<li>Security: Verified compatibility with WooCommerce 11.0 failed-order stock restoration. WooCommerce's <code>wc_maybe_increase_stock_levels()<\/code> now also runs on <code>woocommerce_order_status_failed<\/code>, guarded by WooCommerce's own stock-reduced flag, and Kitgenix Stock Sync correctly synchronises the resulting WooCommerce stock state without reimplementing order-status arithmetic.<\/li>\n<li>Security: Request bodies larger than 2MB are now rejected before HMAC verification.<\/li>\n<li>Security: Malformed JSON requests now return a clean error instead of falling through into further request processing.<\/li>\n<li>Security: Repeated authentication failures from the same sender now trigger a temporary lockout.<\/li>\n<li>Security: Authentication failure responses now use a single generic message so callers cannot enumerate configured store pairings.<\/li>\n<li>Security: Master and Child store URLs must now use HTTPS, with a filtered exception available for local development environments.<\/li>\n<li>Dev: Added a new shared <code>kitgenix-admin-components.js<\/code> script providing modals, collapsible cards, copy-to-clipboard controls, live table search, and toast-style save confirmations.<\/li>\n<li>Dev: Substantially expanded <code>kitgenix-admin-tabs.js<\/code> to drive the new topbar, mobile menu, dropdowns, and dynamic sticky-offset behaviour.<\/li>\n<\/ul>","raw_excerpt":"Synchronize WooCommerce stock quantity, status and backorders between a master store and connected child stores.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/281465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=281465"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kitgenix"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=281465"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=281465"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=281465"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=281465"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=281465"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=281465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}