StockAsOf

Your WooCommerce stock value on any past date

WooCommerce keeps only today’s stock quantity. When your accountant asks what your stock was worth on December 31, the answer is gone once the day has passed. StockAsOf, a plugin for WooCommerce, writes it down: every product’s stock and unit cost as they change, so you can show your stock value at cost on any day since you switched it on, and download it for your accountant.

Coming to the WordPress.org plugin directory, free. Leave your email and we will tell you when it opens.

How it works

  1. Install it and switch it on. StockAsOf records every product and variation that manages its stock straight away, in the background.
  2. Every change is written down. Orders, cancellations, refunds that put items back, edits in the admin and imports: each change is recorded with the new quantity, the unit cost at that moment and the time. Once a day StockAsOf also checks every product, to catch anything changed some other way.
  3. Pick a day, see its value. Under WooCommerce, Stock as of, choose any day since you switched StockAsOf on: each product’s quantity at the end of that day, its unit cost and its value, with the totals.
  4. Send it to your accountant. Download the day as a CSV file, with a header row, to open in any spreadsheet.

Where the costs come from

WooCommerce’s own cost of goods first, when you have turned it on. Then a product field of your own, the cost fields of two cost plugins, or StockAsOf’s own “Cost for stock value” field. A variation without a cost takes its parent product’s. Products without any cost are listed, so you can add one, and left out of the total.

Free, and StockAsOf Pro

StockAsOf

Free

  • Every stock and cost change recorded
  • A check of every product each day
  • Stock value on any day since you installed it
  • CSV download
  • History kept as long as you choose

StockAsOf Pro

$79 a year per site

  • Month ends before you installed StockAsOf, estimated from your order notes and marked as estimates
  • A month-end email with the CSV file, to up to five addresses
  • Updates and support for the year

StockAsOf Pro is a separate add-on, sold on the WooCommerce Marketplace and billed by WooCommerce.com. You do not need it to use StockAsOf.

The estimate, plainly

Each time an order changes a product’s stock, WooCommerce writes a note on the order with the stock before and after. StockAsOf Pro reads those notes to estimate each product’s stock at the month ends before you installed StockAsOf. Stock you received or counted by hand is only seen when a later order shows the new level; rows where that happened say so, with both numbers. Every estimated row is marked as an estimate, on screen and in the file.

What StockAsOf does not do

Questions

Which products are recorded?

Products and variations whose “Manage stock?” box is ticked. A variation whose parent manages the stock is counted through the parent.

Does it slow my store down?

A stock change adds one small row to StockAsOf’s own table. The daily check runs in the background through WooCommerce’s Action Scheduler, in batches.

Does it work with High-Performance Order Storage?

Yes. It declares compatibility with WooCommerce’s order tables and with its cost of goods.

What does it keep?

Product ids, names, SKUs, quantities and costs, in your own database. No customer data. The privacy policy has the details.