Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Storeweave – Sync For WooCommerce Wordpress Plugin - Rating, Reviews, Demo & Download

Storeweave – Sync For WooCommerce Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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.

One store is the main store: it keeps the stock of reference. The others are connected stores: 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.

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.

What it does

  • Matches simple products and variations by SKU.
  • Syncs sales, cancelled orders, refunds with restock, order edits and manual stock edits.
  • Handles bulk changes on the main store (WooCommerce CSV import, WP All Import, REST API, WP-CLI) in batches.
  • Gives every change a unique key, so a change sent twice counts once.
  • Keeps changes in a queue when the other store is down and sends them when it is back.
  • Checks every 15 minutes with Action Scheduler: the main store sends every level again, each connected store retries what is still waiting.
  • Leaves out products without SKU or with a SKU used twice, and lists them under “Products to fix”. It never matches them by guess.
  • Shows a log of every change sent and received.
  • Works with High-Performance Order Storage (HPOS).

What it does not do

  • 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 Storeweave Pro, a separate add-on.
  • 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.

Security

The stores talk through the WordPress REST API, under the storeweave/v1 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.

For developers

Storeweave Pro and other add-ons extend the free plugin with these hooks.

Actions:

  • storeweave_loaded: the plugin is ready.
  • storeweave_register_rest_routes( $namespace ): add routes; protect them with array( 'StoreweaveRest', 'check_signature' ).
  • storeweave_store_connected( $store_id, $connection ) and storeweave_store_disconnected( $store_id, $connection ).
  • storeweave_variation_recorded( $row_id, $product_id, $delta, $type ) on a connected store.
  • storeweave_variation_applied( $product_id, $qty, $type, $store_id, $item ) on the main store.
  • storeweave_stock_level_applied( $product_id, $stock, $before, $item ) on a connected store.
  • storeweave_admin_sections( $role ): add sections to the settings screen.
  • storeweave_products_arrived( $skus ): fire it on a connected store after creating products; stock levels that waited for those SKUs are applied.

Filters:

  • storeweave_resolve_product( $product_id, $sku, $context ): match a product without the SKU lookup.
  • storeweave_stock_item( $item, $product_id, $store_id ): change or extend a stock level before sending.
  • storeweave_stock_products( $product_ids, $store_id, $context ): 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. $context is push for levels queued on the main store and variation for the answer to a change sent by that store. Default: every product with a valid SKU and managed stock.
  • storeweave_push_batch_size (100), storeweave_variation_batch_size (50), storeweave_inline_push_limit (25).
  • storeweave_reconcile_interval (900 seconds), storeweave_signature_max_age (300), storeweave_pairing_code_ttl (900).
  • storeweave_http_args, storeweave_capability (manage_woocommerce), storeweave_finish_request_early, storeweave_show_pro_box.
  • storeweave_wait_for_product( $wait, $sku, $item, $store_id ) (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.
  • storeweave_product_wait_time (1800 seconds): how long such a level waits before the problem is reported.
  • storeweave_log_message( $text, $code, $args, $row ): text of log lines written by add-ons with StoreweaveEvents::log().

Send signed requests to a connected store with StoreweaveClient::post( $connection, $route, $payload ). The map table {prefix}storeweave_map has an index on store, object type and remote ID for lookups by remote ID.

Screenshots

  1. Main store: the connected stores, their status, the sync counters and the button to check now.

    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.

    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.

    Connected store: the connection to the main store, changes waiting to be sent and the log of sales confirmed by the main store.


Reviews & Comments