Skip to content

WooCommerce stock sync

Stock sync keeps your OLET stock levels in line with WooCommerce. When you turn it on, you choose where inventory is managed: the one system that keeps the true count. The other system follows it. The help center sometimes calls the managing system the stock master. There are two ways to run it:

  • WooCommerce manages inventory. OLET copies WooCommerce’s stock and sends in-store sales and returns to WooCommerce. Covered first below.
  • OLET manages inventory. OLET sends every stock change to WooCommerce and records WooCommerce orders. Covered in OLET as the stock master.

For how the same feature works with Shopify, see Shopify stock sync.

It’s off until you turn it on. While it’s off, OLET and your store keep separate stock counts and neither one changes the other.

What happens when WooCommerce manages stock

Section titled “What happens when WooCommerce manages stock”
  • OLET copies WooCommerce’s stock. About every 15 minutes, and again when a product or an order changes in WooCommerce, OLET compares its levels with WooCommerce’s and updates its own to match.
  • In-store sales and returns go to WooCommerce. A sale or return at the register is sent to WooCommerce within a minute, so your online store stops selling what you’ve just sold in the shop.
  • Online orders reach OLET through WooCommerce’s stock. While WooCommerce is the master, OLET doesn’t read your orders. When an order lowers a product’s stock in WooCommerce, OLET sees the lower number at the next check and updates to match.
  • Other stock changes in OLET don’t stick. Counts, receiving, adjustments and CSV imports are overwritten at the next check. If you need a number to change, change it in WooCommerce.
  • Negative stock is copied as it is. If WooCommerce shows -3, OLET shows -3.

WooCommerce counts whole units, and OLET can sell fractions. OLET sends WooCommerce whole units, rounding down, and carries the remainder to the next sale.

Each WooCommerce location needs an answer first. WooCommerce has one stock location, which OLET shows as Online store. On the Locations card of the Settings tab, choose the outlet that Online store feeds. The setup wizard does this for you when you have a single outlet. OLET won’t turn stock sync on until the location is answered.

See Connect WooCommerce for the connection itself.

  1. Go to Integrations > WooCommerce and select the Settings tab.
  2. In the Inventory sync card, select Turn on inventory sync.
  3. In the Turn on inventory sync window, choose an answer to Where is inventory managed? Neither is chosen for you.
    • WooCommerce: “Inventory is managed in WooCommerce. OLET copies WooCommerce’s inventory levels and sends in-store sales and returns to WooCommerce.”
    • OLET: “Inventory is managed in OLET. OLET sends every inventory change to WooCommerce and records WooCommerce orders when WooCommerce reduces their stock.”
  4. Tick the box that says you understand what your choice means, and select Turn on. The button stays disabled until you’ve chosen and ticked. For WooCommerce, the box reads “I understand that inventory changes I make in OLET (counts, receiving, adjustments) will be overwritten by WooCommerce.” For OLET, it reads “I understand that inventory changes made directly in WooCommerce will be reset to OLET’s count.”

If you set up the connection with the setup wizard, the stock step asks the same question, How should inventory sync?, with a Not now choice as well. Its box, Apply the first sync without waiting for my review, replaces the “I understand” box.

OLET doesn’t change any stock the moment you turn sync on from Settings. The Overview tab opens with a Needs attention card titled Approve your first inventory sync, which says how many levels will change, and how many of them go to 0. When WooCommerce manages inventory it reads “n inventory levels in OLET will change to match WooCommerce”. When OLET manages inventory it reads “n inventory levels will change so OLET and WooCommerce match”. Nothing changes until you select Approve. Select Turn off inventory sync instead to stop.

Look at the numbers before you approve. A big change is normal on the first sync if you’ve been counting in OLET.

After the first sync, a check that would change a large share of your levels stops and waits for your approval in the same way. See Shopify stock sync, which works the same way.

When OLET is the master, OLET holds the true count and WooCommerce follows it.

  • OLET sends every stock change to WooCommerce within a minute. Sales, returns, receiving, transfers, counts, adjustments and imports all count.
  • Online orders reach OLET when WooCommerce reduces their stock. WooCommerce does this when an order is processing, on hold or completed, not when it’s placed and unpaid. OLET reads your orders about every 2 minutes and records the stock as Online sale.
  • Putting stock back is recorded as a return. When WooCommerce puts an order’s stock back, OLET records Online return. That happens when you refund with Restock refunded items ticked, or when you cancel the order. A refund without Restock refunded items doesn’t change OLET’s stock.
  • Orders from before the switch aren’t counted again. An order placed before OLET took over isn’t recorded as a sale. If one of those orders is restocked later, OLET does record the return.
  • Items without Track stock quantity are ignored. An order for an item that isn’t stock-tracked in WooCommerce produces nothing in OLET.
  • Changes made directly in WooCommerce are reset. If someone edits a stock number in WooCommerce, OLET sets it back to OLET’s count at the next check, about every 15 minutes.
  • Negative stock is sent as it is. If OLET shows -3, WooCommerce gets -3.

OLET reads only which items were taken from stock or put back, and when. It doesn’t read customer names, emails, addresses, payment details or notes.

OLET needs a WooCommerce key that can read orders, which is a Read or Read/Write key. If that access is lost, the Overview tab shows Online orders aren’t being recorded, and online sales stop being recorded until you reconnect. See Connect WooCommerce.

The Stock movements report shows these rows as Online sale and Online return.

You can change who manages inventory at any time. On the Settings tab, in the Inventory sync card, select Change. The Change where inventory is managed window shows the same choice as turning it on, with your current choice grayed out. A notice titled Before you change explains what happens to changes that haven’t been sent yet. Select Change master to confirm.

  • Changing to OLET: “Inventory changes waiting to be sent will go to WooCommerce after you approve the first sync.”
  • Changing to WooCommerce: “Counts, receiving and adjustments not yet sent to WooCommerce won’t be sent. WooCommerce’s numbers will replace them. Till sales still go through.”

Either way, the change starts over with a first sync that waits for your approval on the Overview tab. Nothing changes in stock until you approve it.

Only products that WooCommerce is tracking stock for, whichever system is the master. In WooCommerce, tick Track stock quantity on the product, or on each variation. A product with variations syncs through its variations.

Items without it ticked are left alone, and OLET never treats them as 0. With OLET as the master, orders for those items are also not recorded. OLET raises one warning for all of them together, which reads like “n items are not stock-tracked in WooCommerce, so no level was set for them. Turn tracking on there if you want OLET to count them.” Turn tracking on in WooCommerce and the warning clears at the next full check.

OLET also skips a product that isn’t linked to a WooCommerce product, a bundle, and anything whose location isn’t answered.

  • One location. WooCommerce has a single stock count per product, so all of it feeds the one outlet you chose.
  • One store with stock sync per account. If stock sync is on for another store, the WooCommerce settings say “Inventory sync is on for Store. Turning it on here turns it off for Store.” The Turn on inventory sync window repeats it under Before you turn on. Turning it on for WooCommerce turns it off for the other store, even if that store is disconnected or its login has expired.
  • A near-simultaneous sale can lose a unit. With WooCommerce as the master, if a register sale and an online order happen in the same second, one of the two units may not be counted. Nothing corrects this afterwards.
  • Scheduled sale prices may lag. A sale price that starts or ends on a schedule may wait for the next sync before OLET picks it up. See Connect WooCommerce.

Select Turn off inventory sync in the Inventory sync card on the Settings tab, or on the Needs attention card while a sync is waiting for approval. It happens straight away. Checks stop and no more stock is sent. Changes made while it’s off aren’t sent later, even if you turn it back on. Turning it on again starts with a first sync that waits for your approval.

Disconnecting the store also turns inventory sync off. After you reconnect, turn it on again.

For stock in OLET itself, see Inventory overview.