Watches stock live, learns from real orders how fast each product sells, and tells you what to restock first, what running out is costing you, and what's just sitting on the shelf.
01What the page is for
Running out of a product that sells well costs money every day it's gone. Keeping stock of a product nobody buys ties up money too.
The page answers two questions:
- What should the shop restock, and how urgently?
- What is stock costing the shop? Sales missed while sold out, shoppers searching for sold-out products, and stock that doesn't move.
Everything comes from the shop's own stock in Shopify, its orders and its searches in HiveBee. Only money amounts such as revenue at risk and est. unmet demand are estimates, and each shows its sum.
Each size or colour is judged on its own (a "variant"). The 1 kg jar can run out while the 350 g jar is fine.
02The example: a candle shop
| Product | Price | In stock | Sold in the last 30 days |
|---|---|---|---|
| Lavender candle | €25 | 0 | 50, then ran out 5 days ago (2 a day) |
| Rose candle | €20 | 3 | 30 (14 of them in the last 7 days) |
| Vanilla candle | €25 | 6 | 30 (sold out for 10 of the 30 days) |
| Gift box | €60 | 8 | 6 |
| Matches | €2.50 | 200 | 90 |
| Christmas candle | €40 | 40 | 0 (1 in the last 90 days, listed a year ago) |
| Pine candle | €22.50 | 0 | 0 (nothing sold for months) |
We'll use these numbers all the way through.
03Which data is used
| Data | Where it comes from | How fresh |
|---|---|---|
| Stock | Shopify, all locations added up | Live, within seconds |
| Orders | Shopify | Live; corrected every night |
| Searches | HiveBee search box and chat | Live |
| Sales rate | Worked out from the orders | Every night, around 3 AM shop time |
Which variants count: only variants of active products whose stock Shopify tracks. Drafts, archived products and "don't track stock" variants are left out. You can't run out of something Shopify doesn't count.
Left out of sales, and why:
| Left out | Why |
|---|---|
| Cancelled orders | No sale happened |
| Test orders | Not real customers |
| Refunded units | The customer didn't keep it |
04Sales rate: the base of everything
Whathow many units a variant sells per day.
Whyevery alert depends on it. "6 left" is urgent if it sells 3 a day and fine if it sells 1 a month.
Howunits sold in the last 30 days ÷ the days it could be bought in those 30 days.
Days when it was sold out don't count. A product can't sell while it's gone, and counting those days would make it look slower than it is.
Three safety rules
So thin or unusual sales don't fake demand:
| Rule | Why | Page shows |
|---|---|---|
| Fewer than 2 orders in 30 days → no rate | One order isn't a pattern | "Too few sales" |
| If the last 7 days sold faster (and at least 5 units), that rate is used | Catches a sudden rush before it empties the shelf | "selling faster lately" |
| One big order line counts at most 5 units (or 3× the usual order size, if bigger) | One bulk order isn't everyday demand | – |
05Days left
Whathow many days the stock lasts at the current sales rate.
Howstock ÷ sales rate.
Days left changes the moment stock changes (a sale, a restock), using last night's sales rate.
06Each variant's status
Every variant gets one status. They're checked in this order, and the first one that fits wins.
| # | Status | When | Candle shop |
|---|---|---|---|
| 1 | Out of stock | Can't be bought now | Lavender, Pine |
| 2 | Oversold | "Continue selling when out of stock" is on and stock is below 0 | – |
| 3 | Critical | Runs out within 2 days | Rose (1.5 days) |
| 4 | Attention | Runs out within 14 days | Vanilla (4 days) |
| 5 | Low stock | 10 units or fewer, and it sold in the last 90 days | Gift box (8 units) |
| 6 | Healthy | None of the above | Matches |
The 2, 14 and 10 are defaults. The shop can change them (section "Alert rules").
Why the order matters: the Gift box has only 8 left, but at 0.2 a day that lasts 40 days. It isn't urgent, so it's only "Low stock".
Why "sold in the last 90 days" for Low stock: a size that hasn't sold in 3 months isn't running low. It's just small stock.
Stock at exactly 0 with "continue selling" on is a backorder, not oversold. Oversold means below 0.
07The 4 cards at the top
Critical – Restock now
Whatvariants to reorder today.
Whythese are losing sales now, or will be within 2 days.
Howthree groups added up, shown under the number:
- out of stock and still selling when it ran out;
- oversold;
- running out within 2 days.
Pine isn't counted. It's sold out, but it wasn't selling, so it's probably discontinued. It still appears under Restock › Out of stock.
Needs attention
Whatvariants that run out soon, but not today.
Whytime to plan the reorder before it becomes urgent.
Howdays left more than 2 and up to 14.
Invisible demand
Whatsearches for products that were sold out at the time, last 30 days.
Whysales numbers can't show demand for something nobody could buy. Searches can.
Howsee the "Invisible demand" section.
Dead stock
Whatstock that isn't selling.
Whymoney sits on the shelf. Better to clear it than reorder it.
Howsee the "Dead stock" section.
08The Restock table
One row per variant to act on, sorted by urgency: sold out and oversold first, then fewest days left, then most money at risk.
Views: Needs action (default: Critical + Attention + Low stock), Critical, Attention, Low stock, Out of stock.
| Column | Meaning | Example |
|---|---|---|
| In stock | Units across all locations | 20 |
| Sales rate | Per day, or per week/month for slow sellers | "5.3 a day", "Too few sales" |
| Runs out | When, or since when | "4 days", "Out since Nov 5" |
| Revenue at risk (30 days) | Sales missed in the next 30 days without a restock | €975 |
| Status | From the "Status" section | Attention |
Revenue at risk (30 days)
Whatthe sales the shop will miss in the next 30 days if it doesn't restock.
Whyit turns "running low" into money, so the shop knows which restock matters most.
Howsales rate × price × the days it will be sold out within the next 30 days.
| Variant | Sum | At risk |
|---|---|---|
| Lavender (already out → all 30 days) | 2 a day × €25 × 30 | €1,500 |
| Rose (out after 1.5 days → 28.5 days) | 2 × €20 × 28.5 | €1,140 |
| Vanilla (out after 4 days → 26 days) | 1.5 × €25 × 26 | €975 |
| Gift box, Matches (last over 30 days) | – | €0 |
| Total | €3,615 |
For a sold-out variant, the sales rate is the one it had when it ran out. It's frozen then, because a sold-out item can't sell any more and its live rate would drop day by day.
09Invisible demand
Whatshoppers searching for a product that was completely sold out.
When a search counts:
- its best match (the most relevant result) was sold out, and
- every size/colour of that product was sold out.
If even one size was left, the shopper could still buy, so it doesn't count. Each search counts once, for one product, so the rows add up to the total.
Est. unmet demand
Whatroughly how much those searches would have been worth.
Howsearches × the shop's search conversion × the product's lowest price.
Search conversion = the share of searches that end in a purchase. It's taken from the same period, or from the last 90 days if the period has fewer than 100 searches (too few to trust).
Shown with "≈" because it's an estimate.
Period: last 7, 30 or 90 days, this month, last month (default: last 30 days).
10Stockout history
Whatevery time a variant sold out, and the sales it likely cost.
Whyshows which products run out again and again, and what that cost.
Howdays sold out × sales rate when it ran out × price then.
Revenue at risk vs. sales lost: revenue at risk looks forward (next 30 days). Sales lost looks back (what already happened).
Rules:
| Rule | Why |
|---|---|
| Stockouts under 1 hour aren't listed | Usually the gap between the last sale and the restock being entered |
| Products already sold out when tracking began aren't listed | Start and loss are unknown. The page says so and points to Restock › Out of stock |
| "Still out" badge | Not restocked yet |
| "Longest" badge | The single longest stockout (none on a tie) |
Period: same menu as Invisible demand (default: last 90 days).
11Dead stock
Whatstock that has been around long enough and hardly sold.
Rule (defaults): in stock now, listed in Shopify 90+ days ago, and 2 or fewer sold in the last 90 days.
Why "listed 90+ days ago": a product added last week hasn't had the chance to sell.
Value: stock × selling price. Selling price, because cost is often not entered in Shopify.
The page waits until it can judge fairly:
| Message | Why |
|---|---|
| "Needs N more days of order history" | Orders don't cover the whole window yet; products would look unsold |
| "Ready after tonight's sales figures" | First sales figures not worked out yet |
| "No sales recorded in the last 90 days" | The whole shop sold nothing, so everything would count as dead; nothing is listed |
12Alert rules: the shop's own settings
The merchant can change 5 numbers under Alert rules. They apply to that shop only and take effect immediately.
| Rule | Default | Allowed | Changes |
|---|---|---|---|
| Restock now | 2 days | 1–7 | When a variant becomes Critical |
| Needs attention | 14 days | More than Restock now, up to 60 | When it becomes Attention |
| Low stock: at or below | 10 units | 0–1,000 | When a selling variant becomes Low stock |
| Dead stock: sold at most | 2 units | 0–20 | How few sales make stock dead |
| Dead stock: in the last | 90 days | 30, 60, 90 or 180 | The dead-stock window |
Only the merchant can change the rules, in the Shopify app.
13When the numbers update
| Updates | What |
|---|---|
| Within seconds | Stock, out of stock, oversold, days left, new stockouts, searches for sold-out products, new orders |
| Every night, ~3 AM shop time | Sales rates; corrections (cancellations, edits, missed updates); a full stock comparison with Shopify |
So the page isn't only updated at night. Only the sales rate is.
Why a nightly check at all: Shopify doesn't guarantee every live update arrives. The nightly check compares everything with Shopify and fixes any difference. A missed update costs at most a day, never correctness.
New shops: the first check starts within an hour of install. Until then the cards show "-" with "After your first check", not 0, because 0 would wrongly say all is fine.
The line above the cards says how fresh each part is, e.g.:
14Good to know
- Each size or colour counts on its own. One sold-out size of a product is a real alert.
- Searches never change the Restock table. Restock is based on sales; searches only feed Invisible demand.
- Sold out but not selling isn't in Restock now (probably discontinued). It's under Out of stock.
- No lead times or reorder quantities: Shopify has no data for them.
- No email or Slack alerts: everything is in the dashboard.
- Dead stock can look huge in shops that enter placeholder stock (e.g. 10 of every made-to-order item). HiveBee can't tell that apart from real stock.
- The numbers are checked: a separate program recalculates everything from the raw orders and stock and compares the result with the page.
15Everything on one page
| Name | In one sentence | Calculation | Candle shop |
|---|---|---|---|
| Sales rate | Units sold per day | Units in 30 days ÷ days it could be bought | Vanilla: 30 ÷ 20 = 1.5/day |
| Days left | How long stock lasts | Stock ÷ sales rate | Vanilla: 6 ÷ 1.5 = 4 days |
| Critical – Restock now | Reorder today | Out of stock (still selling) + oversold + runs out within 2 days | 2 |
| Needs attention | Reorder soon | Runs out in more than 2, up to 14 days | 1 |
| Low stock | Few left, still selling | 10 or fewer, sold in 90 days, not more urgent | 1 |
| Revenue at risk (30 days) | Sales missed without a restock | Sales rate × price × days out in next 30 | €3,615 |
| Invisible demand | Searches for sold-out products | Best match fully sold out | 50 searches |
| Est. unmet demand | What those searches were worth | Searches × search conversion × price | ≈ €25 |
| Stockouts / sales lost | What sell-outs already cost | Days out × rate when it ran out × price | €250 |
| Dead stock | Stock that doesn't move | In stock, listed 90+ days, sold 2 or fewer | 1 · €1,600 |
