Skip to content
Leanmerce Availability

Stock availability automation

Automation is off by default and excludes Inventory Mode products.

  1. Open Product Defaults > Stock availability automation.
  2. Enable it. For Out of stock → In stock choose Do nothing, Apply Product Defaults, Enable all eligible locations, or Enable selected locations. For In stock → Out of stock choose Do nothing, Mark all eligible locations unavailable, or Mark selected locations unavailable.
  3. When using selected locations, tick them explicitly and save.
  4. On a disposable central-stock product, leave Inventory Mode off and record every assignment.
  5. Edit the product, open Product data > Inventory, change Quantity from 0 to 3, and click the main Update. Reopen the product: online is Available, while the unrelated pickup and warehouse assignments are unchanged.
  6. Change Quantity from 3 to 0, update, and reopen: online is Unavailable, while pickup and warehouse are still unchanged.
  7. Reopen Product Defaults and confirm the selected-location settings remain saved. This automation runs synchronously on the actual WooCommerce stock boundary change; it is not a queued catalog job.

Automation tracks choices it owns; it is not a universal restore of unrelated manual edits. If nothing changes, confirm Inventory Mode is off, the stock state actually crossed the boundary, automation is enabled and selected locations were saved.

Stock automation controls with explicit selected locations
Stock automation controls with explicit selected locations