{"id":415357,"date":"2026-12-03T14:20:22","date_gmt":"2026-12-03T14:20:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/storeweave-sync-for-woocommerce\/"},"modified":"2026-12-03T14:29:06","modified_gmt":"2026-12-03T14:29:06","slug":"storeweave","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/storeweave\/","author":23613968,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Storeweave \u2013 Sync for WooCommerce","header_author":"MORE Agency","header_description":"Shares one stock between separate WooCommerce stores. The main store keeps the stock, each connected store sends its sales and gets the stock levels back.","last_updated":"2026-12-03 14:29:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/plugin.more-agency.it\/storeweave\/","header_author_uri":"https:\/\/more-agency.it","rating":0,"author_block_rating":0,"active_installs":0,"downloads":50,"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":"moreagencyit","date":"2026-12-03 14:20:07","revision":3842627},"1.0.1":{"tag":"1.0.1","author":"moreagencyit","date":"2026-12-03 14:29:06","revision":3842653}},"upgrade_notice":{"1.0.1":"<p>Better delivery of stock levels when you connect more than one store.<\/p>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3842627,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3842627,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3842627,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3842627,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3842627,"resolution":"1","location":"assets","locale":"","width":1400,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3842627,"resolution":"2","location":"assets","locale":"","width":960,"height":800},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3842627,"resolution":"3","location":"assets","locale":"","width":1400,"height":1250}},"screenshots":{"1":"Main store: the connected stores, their status, the sync counters and the button to check now.","2":"Main store: products left out of the sync until they are fixed, and the event log with sales received from the connected store.","3":"Connected store: the connection to the main store, changes waiting to be sent and the log of sales confirmed by the main store."}},"plugin_section":[],"plugin_tags":[6601,133042,171167,51032,286],"plugin_category":[45],"plugin_contributors":[297453],"plugin_business_model":[],"class_list":["post-415357","plugin","type-plugin","status-publish","hentry","plugin_tags-inventory","plugin_tags-multi-store","plugin_tags-stock-sync","plugin_tags-wholesale","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-moreagencyit","plugin_committers-moreagencyit"],"banners":{"banner":"https:\/\/ps.w.org\/storeweave\/assets\/banner-772x250.png?rev=3842627","banner_2x":"https:\/\/ps.w.org\/storeweave\/assets\/banner-1544x500.png?rev=3842627","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/storeweave\/assets\/icon-128x128.png?rev=3842627","icon_2x":"https:\/\/ps.w.org\/storeweave\/assets\/icon-256x256.png?rev=3842627","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/storeweave\/assets\/screenshot-1.png?rev=3842627","caption":"Main store: the connected stores, their status, the sync counters and the button to check now."},{"src":"https:\/\/ps.w.org\/storeweave\/assets\/screenshot-2.png?rev=3842627","caption":"Main store: products left out of the sync until they are fixed, and the event log with sales received from the connected store."},{"src":"https:\/\/ps.w.org\/storeweave\/assets\/screenshot-3.png?rev=3842627","caption":"Connected store: the connection to the main store, changes waiting to be sent and the log of sales confirmed by the main store."}],"raw_content":"<!--section=description-->\n<p>You run two or more WooCommerce stores, for example a retail shop and a wholesale shop, or one site per country. You sell the same products from one warehouse. Storeweave keeps the stock of every store in step.<\/p>\n\n<p>One store is the <strong>main store<\/strong>: it keeps the stock of reference. The others are <strong>connected stores<\/strong>: add as many as you need, the free plugin sets no limit on their number. When a connected store sells two units, it tells the main store \"minus two\" for that order line. The main store applies the change once, then sends the new stock level back. When the main store sells, edits or imports stock, it sends the new levels to every connected store.<\/p>\n\n<p>A connected store never overwrites the stock of the main store with its own numbers. That rule prevents the most common failure of stock sync tools, where a secondary store pushes old numbers back to the main one.<\/p>\n\n<h4>What it does<\/h4>\n\n<ul>\n<li>Matches simple products and variations by SKU.<\/li>\n<li>Syncs sales, cancelled orders, refunds with restock, order edits and manual stock edits.<\/li>\n<li>Handles bulk changes on the main store (WooCommerce CSV import, WP All Import, REST API, WP-CLI) in batches.<\/li>\n<li>Gives every change a unique key, so a change sent twice counts once.<\/li>\n<li>Keeps changes in a queue when the other store is down and sends them when it is back.<\/li>\n<li>Checks every 15 minutes with Action Scheduler: the main store sends every level again, each connected store retries what is still waiting.<\/li>\n<li>Leaves out products without SKU or with a SKU used twice, and lists them under \"Products to fix\". It never matches them by guess.<\/li>\n<li>Shows a log of every change sent and received.<\/li>\n<li>Works with High-Performance Order Storage (HPOS).<\/li>\n<\/ul>\n\n<h4>What it does not do<\/h4>\n\n<ul>\n<li>It does not copy products, prices, images or categories between stores. Create the products on every store with the same SKU first. Catalog sync, price rules per store and the orders of every store in one list come with <a href=\"https:\/\/plugin.more-agency.it\/storeweave\/\">Storeweave Pro<\/a>, a separate add-on.<\/li>\n<li>It cannot stop two customers from buying the last unit on two stores in the same second. If that happens, the stock goes below zero and the log shows a warning.<\/li>\n<\/ul>\n\n<h4>Security<\/h4>\n\n<p>The stores talk through the WordPress REST API, under the <code>storeweave\/v1<\/code> namespace. You connect them with a one-time code that expires after 15 minutes; you never copy API keys by hand. Every request carries an HMAC-SHA256 signature with a timestamp and a single-use nonce. Storeweave refuses requests with a wrong signature, older than 5 minutes or sent twice. Both stores need HTTPS.<\/p>\n\n<h3>For developers<\/h3>\n\n<p>Storeweave Pro and other add-ons extend the free plugin with these hooks.<\/p>\n\n<p>Actions:<\/p>\n\n<ul>\n<li><code>storeweave_loaded<\/code>: the plugin is ready.<\/li>\n<li><code>storeweave_register_rest_routes( $namespace )<\/code>: add routes; protect them with <code>array( 'Storeweave\\Rest', 'check_signature' )<\/code>.<\/li>\n<li><code>storeweave_store_connected( $store_id, $connection )<\/code> and <code>storeweave_store_disconnected( $store_id, $connection )<\/code>.<\/li>\n<li><code>storeweave_variation_recorded( $row_id, $product_id, $delta, $type )<\/code> on a connected store.<\/li>\n<li><code>storeweave_variation_applied( $product_id, $qty, $type, $store_id, $item )<\/code> on the main store.<\/li>\n<li><code>storeweave_stock_level_applied( $product_id, $stock, $before, $item )<\/code> on a connected store.<\/li>\n<li><code>storeweave_admin_sections( $role )<\/code>: add sections to the settings screen.<\/li>\n<li><code>storeweave_products_arrived( $skus )<\/code>: fire it on a connected store after creating products; stock levels that waited for those SKUs are applied.<\/li>\n<\/ul>\n\n<p>Filters:<\/p>\n\n<ul>\n<li><code>storeweave_resolve_product( $product_id, $sku, $context )<\/code>: match a product without the SKU lookup.<\/li>\n<li><code>storeweave_stock_item( $item, $product_id, $store_id )<\/code>: change or extend a stock level before sending.<\/li>\n<li><code>storeweave_stock_products( $product_ids, $store_id, $context )<\/code>: on the main store, return the products whose stock level goes to that connected store. The others are skipped without a problem in the log. <code>$context<\/code> is <code>push<\/code> for levels queued on the main store and <code>variation<\/code> for the answer to a change sent by that store. Default: every product with a valid SKU and managed stock.<\/li>\n<li><code>storeweave_push_batch_size<\/code> (100), <code>storeweave_variation_batch_size<\/code> (50), <code>storeweave_inline_push_limit<\/code> (25).<\/li>\n<li><code>storeweave_reconcile_interval<\/code> (900 seconds), <code>storeweave_signature_max_age<\/code> (300), <code>storeweave_pairing_code_ttl<\/code> (900).<\/li>\n<li><code>storeweave_http_args<\/code>, <code>storeweave_capability<\/code> (manage_woocommerce), <code>storeweave_finish_request_early<\/code>, <code>storeweave_show_pro_box<\/code>.<\/li>\n<li><code>storeweave_wait_for_product( $wait, $sku, $item, $store_id )<\/code> (default false): on a connected store, keep the stock level of a SKU that is not there yet instead of reporting \"not found\", because an add-on is creating the product.<\/li>\n<li><code>storeweave_product_wait_time<\/code> (1800 seconds): how long such a level waits before the problem is reported.<\/li>\n<li><code>storeweave_log_message( $text, $code, $args, $row )<\/code>: text of log lines written by add-ons with <code>Storeweave\\Events::log()<\/code>.<\/li>\n<\/ul>\n\n<p>Send signed requests to a connected store with <code>Storeweave\\Client::post( $connection, $route, $payload )<\/code>. The map table <code>{prefix}storeweave_map<\/code> has an index on store, object type and remote ID for lookups by remote ID.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate Storeweave on every store. WooCommerce must be active.<\/li>\n<li>On the main store, open WooCommerce &gt; Storeweave, choose \"Main store\" and save.<\/li>\n<li>On each other store, open WooCommerce &gt; Storeweave, choose \"Connected store\" and save.<\/li>\n<li>On the main store, click \"Create connection code\" and copy the code.<\/li>\n<li>On the connected store, paste the code and click \"Connect\". Repeat steps 4 and 5 for each store you want to connect.<\/li>\n<\/ol>\n\n<p>After the connection, the main store sends the stock of every product with a matching SKU. The connected store takes those numbers: check that the main store has the right stock before you connect.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"which%20store%20should%20be%20the%20main%20store%3F\"><h3>Which store should be the main store?<\/h3><\/dt>\n<dd><p>The one where you manage the warehouse, usually the store that gets stock from suppliers or imports. Its numbers win when the stores disagree.<\/p><\/dd>\n<dt id=\"do%20products%20need%20the%20same%20id%20on%20every%20store%3F\"><h3>Do products need the same ID on every store?<\/h3><\/dt>\n<dd><p>No. Storeweave matches products by SKU. Each variation needs its own SKU. A variation that uses the stock of its parent product follows the SKU of the parent.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20one%20store%20is%20offline%3F\"><h3>What happens if one store is offline?<\/h3><\/dt>\n<dd><p>The changes wait in a queue with their unique keys. Storeweave retries them with a growing wait, and the check every 15 minutes sends them as soon as the other store answers.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20import%205%2C000%20stock%20levels%20on%20the%20main%20store%3F\"><h3>What happens if I import 5,000 stock levels on the main store?<\/h3><\/dt>\n<dd><p>Storeweave queues the changed products and sends them in batches of 100 with Action Scheduler, so the import does not wait for the other store.<\/p><\/dd>\n<dt id=\"my%20site%20has%20wp-cron%20turned%20off.\"><h3>My site has WP-Cron turned off.<\/h3><\/dt>\n<dd><p>Storeweave uses Action Scheduler, which runs on WP-Cron. If the screen says that background tasks are late, set up a real cron job on the server that calls wp-cron.php every minute or two.<\/p><\/dd>\n<dt id=\"can%20i%20test%20on%20a%20local%20site%20without%20https%3F\"><h3>Can I test on a local site without HTTPS?<\/h3><\/dt>\n<dd><p>Yes. On sites with <code>WP_ENVIRONMENT_TYPE<\/code> set to <code>local<\/code>, or with <code>define( 'STOREWEAVE_ALLOW_INSECURE', true );<\/code> in wp-config.php, Storeweave accepts plain HTTP and self-signed certificates. Do not use that constant on a live site.<\/p><\/dd>\n<dt id=\"does%20it%20send%20data%20to%20more%20agency%20or%20to%20other%20services%3F\"><h3>Does it send data to MORE Agency or to other services?<\/h3><\/dt>\n<dd><p>No. The stores talk only to each other. Storeweave has no tracking and no external service.<\/p><\/dd>\n<dt id=\"what%20does%20it%20delete%20when%20i%20remove%20it%3F\"><h3>What does it delete when I remove it?<\/h3><\/dt>\n<dd><p>Nothing, unless you tick \"Delete all Storeweave data\" in the options. With that option on, deleting the plugin removes its two tables, its settings and its scheduled tasks.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>With several connected stores, the main store sends stock levels to each one in turn. A long queue or a slow store no longer holds back the others.<\/li>\n<li>The background task leaves a store that is not answering until its retry time.<\/li>\n<li>A retry planned for later no longer delays changes that can go right away.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release: shared stock between a main store and its connected stores, matched by SKU, with signed requests, unique change keys, queue, reconciliation every 15 minutes and event log.<\/li>\n<\/ul>","raw_excerpt":"Share one stock between separate WooCommerce stores. A sale on any store lowers the stock on all of them.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/415357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=415357"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/moreagencyit"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=415357"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=415357"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=415357"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=415357"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=415357"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=415357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}