• Plugins
  • Support
  • Blog
  • About
  • FAQ
Menu
  • Plugins
  • Support
  • Blog
  • About
  • FAQ
$0.00 0 Cart

How Stock Sync Pro Keeps Your Stock in Check

  • March 15, 2023
  • -
  • Lauri / WP Trio

Let’s face it – if you sell something and it’s not in stock, that means trouble. You either have to cancel the order or keep the customer waiting for stock fulfillment. Keeping stock quantities up to date can be difficult if you serve multiple stores from a single warehouse.

With Stock Sync Pro, we had a singular focus – to make stock syncing between WooCommerce stores as reliable as possible. We spent a lot of time figuring out how to handle different scenarios, such as if there are multiple orders for the same product at the exact same second.

The naive way to handle stock syncing would be to simply copy stock quantities between stores whenever they change. However, this presents a potential problem. If there are two (or more) orders for the same product at the exact same second and syncing has not yet taken place, quantities will end up wrong.

To give you an idea of how this can happen, let’s assume we have two stores: Fruits Store and Fruits B2B. The former serves regular customers while the latter serves business customers. Both stores are served from the same warehouse. Let’s have a look at what happens if two customers place an order for apples from both stores at the same time, and we just copy stock quantities:

TimeEventStock Quantity in Fruits StoreStock Quantity in Fruits B2B
9:00:00Initial Stock Quantity100100
9:00:00Customer A purchases 30 apples from Fruits B2B10070
9:00:00Customer B purchases 10 apples from Fruits Store9070
9:00:01Fruits B2B copies stock quantity to Fruits Store7070
9:00:01Fruits Store copies stock quantity to Fruits B2B7070

As we can see, by simply copying the quantities, we end up with 70 apples (and sometimes with 90!), while the real quantity would be 60.

Now, Stock Sync Pro handles this differently. Instead of simply copying quantities, it keeps track of how much stock has been changed. It will sync the difference instead of the actual quantity. This way, it doesn’t matter if syncing has not yet taken place as it will subtract or increase the amount. We call this delta adjustment, which means change in mathematics. Let’s redo the earlier sequence of events with this technique:

TimeEventStock Quantity in Fruits StoreStock Quantity in Fruits B2B
9:00:00Initial Stock Quantity100100
9:00:00Customer A purchases 30 apples from Fruits B2B10070
9:00:00Customer B purchases 10 apples from Fruits Store9070
9:00:01Fruits B2B subtracts 30 apples from Fruits Store6070
9:00:01Fruits Store subtracts 10 apples from Fruits B2B6060

Now, we end up with the correct amount of 60 apples. This is because we synced the change instead of the value. This technique can handle high-volume sales with ease.

While keeping stock in check is a crucial part of stock syncing, it’s only one part of the equation, though. Other important aspects to consider:

  • Syncing doesn’t slow down the site, which would be bad customer experience
  • Stock changes can be easily monitored product by product should something go wrong
  • No matter the amount of products, syncing is reliable

With Stock Sync Pro, we paid special attention to making the plugin handle all these aspects:

  • Background Processing – syncing is done in the background, so it doesn’t affect frontend loading times
  • Smart Logging – easily monitor what triggered the stock change (e.g. order or admin edit) product by product
  • Batch Processing – products are processed in batches, meaning it works for anything from one product to tens of thousands of products

In conclusion, Stock Sync Pro is a great solution for keeping stock quantities up to date between multiple WooCommerce stores. With features like delta adjustment, background processing and smart logging, stock syncing becomes reliable and effortless. Try Stock Sync Pro today to see how it can benefit your business.

Latest Posts

How Stock Sync Pro Keeps Your Stock in Check
Product Sync vs. Stock Sync: Understanding the Differences
How to Add Payment Method Fee in WooCommerce
Version 2 of Stock Sync – Migration Guide
How to Display “Add $ X to cart and get free shipping” on Checkout

Plugins

WooCommerce Conditional Payments Pro
WooCommerce Conditional Shipping Pro
WooCommerce Product Sync Pro
WooCommerce Stock Sync Pro
30 DAY MONEY BACK GUARANTEE
+6000 HAPPY CUSTOMERS
SUPPORT FROM THE DEVELOPER

WP Trio / BitBot Oy
Flätbackantie 1, 04150 Sipoo
FINLAND
VAT ID: FI28269925

WP Trio

  • Support
  • Blog
  • About
  • FAQ
  • My account
  • Support
  • Blog
  • About
  • FAQ
  • My account

Plugins

  • Plugins
  • Docs
  • Plugins
  • Docs