Stocky Is Gone: How to Keep Average Cost on Shopify in 2026
Stocky shut down on 31/08/2026 and took its weighted average cost with it. What Stocky did for cost, what you lose without it, a spreadsheet method to keep average cost on Shopify, and what to look for in a Stocky alternative.
What happened to Stocky
Shopify retired Stocky, its inventory app for Shopify POS. According to Shopify's Help Center, Stocky is no longer available as of 31/08/2026, and its APIs stopped working on the same date. Shopify now wants merchants to manage purchase orders, transfers and stock counts in the Shopify admin and Shopify POS.
Two details from that page matter right now:
- You keep read-only access to export your Stocky data for at least 90 days after 31/08/2026. That means until at least 29/11/2026. If you haven't exported your historical cost data yet, do it before 29/11/2026.
- Your Stocky history, such as old purchase orders and stocktakes, doesn't automatically move into Shopify. Historical purchase orders can't be imported, and suppliers can't be exported at all.
Most migration guides cover purchase orders and transfers. This post covers the part they tend to skip: your product costs.
What Stocky did for cost
Stocky kept an average unit cost for every variant and updated it each time you received a purchase order. Shopify's Stocky documentation gives the formula it used:
((current average cost × current stock) + (landed cost of received stock × units received)) ÷ (current stock + units received)
It also did three related jobs:
- Landed cost. Stocky added shipping and adjustments on a purchase order to the product cost, spread across the lines in proportion to their value. A $25 item on an order with 50% extra in freight and fees came in at $37.50.
- Syncing to Shopify. With automatic cost syncing turned on, Stocky wrote the new average into each variant's Cost per item field in the Shopify admin.
- Backdating. It could apply the current average cost to older orders, so COGS reports had a cost for historical sales.
So for many stores Stocky was their costing system. You received stock, and your margins stayed roughly right without anyone doing the math.
What you lose without it
Shopify's built-in purchase orders can record line costs, shipping, fees and duties. But receiving a purchase order does not change the product's cost. Shopify's migration guide says so directly: each variant has a single static Cost per item field that "stays fixed when you receive a purchase order or transfer". For weighted average or landed cost allocation, it points you to a third-party app.
In practice, that means:
| With Stocky | In Shopify admin today |
|---|---|
| Average cost recalculated on every receipt | Cost per item stays at whatever you last typed |
| Freight and fees folded into unit cost | Recorded on the purchase order, not in the product cost |
| Cost per item kept in sync automatically | You update it by hand, or it goes stale |
| Average cost history inside Stocky | Past orders keep the cost from when they were placed, but the product keeps no log of earlier costs |
Shopify does record the cost on each order when the order is created, so changing Cost per item doesn't rewrite past orders (Shopify Help Center: cost per item). What's missing is a log. You can't look up what a variant cost on a given date, and you can't recost past sales if a cost was wrong.
The risk is slow drift. Supplier prices change, the field doesn't, and your profit reports drift away from reality one delivery at a time. Nothing breaks, so nobody notices until a margin review or tax season.
How to keep a weighted average cost today
You can rebuild what Stocky did with two habits: a dated cost history spreadsheet, and a dated snapshot of your Shopify costs before every change.
Step 1: export your Stocky starting point
While read-only access lasts, export your historical cost data and purchase order reports from Stocky as CSV files. Shopify's guide lists these as the records to keep for tax and audit.
The figure you need for each variant is the average cost and stock on hand on 31/08/2026. That becomes the opening balance of your spreadsheet. If you're starting now, back-fill every receipt and sale since 01/09/2026, in date order, before you trust the average.
If you missed the export, use your current Cost per item and on-hand quantity as the opening balance, and note the date you did it.
Step 2: set up one sheet per variant
Use one tab per variant, or one tab with a SKU column and a filter. These are the columns:
| Column | Header | What goes in it |
|---|---|---|
| A | Date | DD/MM/YYYY of the event |
| B | Event | "Opening balance", "PO-1041 received", "Sales 08/09 to 13/10" |
| C | Qty in | Units received |
| D | Landed unit cost | (Line cost + its share of freight, duty and fees) ÷ units |
| E | Qty out | Units sold or written off |
| F | On hand | Running stock |
| G | Average cost | Running weighted average |
| H | Stock value | On hand × average cost |
Put the opening balance in row 2, then use these formulas from row 3 down:
- F3 (on hand):
=F2+C3-E3 - G3 (average cost):
=IF(C3>0, IF(F2<=0, D3, (F2*G2+C3*D3)/(F2+C3)), G2) - H3 (stock value):
=F3*G3
Use one event per row. The formula is only right if On hand is the stock you held just before each receipt, which is the "current stock" in Stocky's formula. So before you enter a receipt, add a sales row for every unit sold since the last row. Or set On hand to Shopify's inventory count just before you receive.
The average only changes when stock comes in. Sales take units out at the current average, so the average stays the same. If stock on hand was zero or negative before a receipt, the new average is simply the cost of the stock that arrived. Stocky handled negative stock the same way.
Format column G to four decimal places. Round to cents only when you copy the figure into Shopify.
Step 3: a worked example
You sell a linen tea towel. On 01/09/2026 you start the sheet from your Stocky export: 40 units at an average of $12.00.
On 08/09/2026, purchase order PO-1041 arrives: 60 units at $14.50 each, plus $45.00 freight. The landed cost is $14.50 + ($45.00 ÷ 60) = $15.25 per unit.
Nothing sells before PO-1041 arrives. Between 08/09 and 13/10 you sell 30 units, and you enter them as one sales row before the next receipt. On 14/10/2026, PO-1057 arrives: 50 units at a landed cost of $13.40.
| Date | Event | Qty in | Landed unit cost | Qty out | On hand | Average cost | Stock value |
|---|---|---|---|---|---|---|---|
| 01/09/2026 | Opening balance (Stocky export) | 40 | $12.0000 | $480.00 | |||
| 08/09/2026 | PO-1041 received | 60 | $15.25 | 100 | $13.9500 | $1,395.00 | |
| 13/10/2026 | Sales 08/09 to 13/10 | 30 | 70 | $13.9500 | $976.50 | ||
| 14/10/2026 | PO-1057 received | 50 | $13.40 | 120 | $13.7208 | $1,646.50 |
The working for the two receipts:
- 08/09: (40 × $12.00 + 60 × $15.25) ÷ 100 = ($480.00 + $915.00) ÷ 100 = $13.95
- 14/10: (70 × $13.95 + 50 × $13.40) ÷ 120 = ($976.50 + $670.00) ÷ 120 = $13.72
After each receipt, you'd update Cost per item in Shopify: $13.95 on 08/09, then $13.72 on 14/10.
If you had left Cost per item at $12.00, every towel sold between 08/09 and 13/10 would have been under-costed by $1.95. That is about 14% of the real unit cost, and it all goes straight into overstated profit.
Step 4: snapshot your Shopify costs before every change
Shopify keeps the cost on each past order, but not a history of Cost per item on the product. Once you change it, you can't look up the old value. So save a dated copy before each update:
- In your Shopify admin, go to Products and export your products as a CSV. The export includes the Cost per item column.
- Save it with the date in the file name, for example
cost-snapshot-14-10-2026.csv. - Update the costs, in the bulk editor or by importing an edited CSV.
- Export again and save it as
cost-snapshot-14-10-2026-after.csv.
Keep the snapshots in one folder, so you can see what each cost was on any date and correct COGS if a cost was wrong. You can also compare two snapshots to see exactly which costs changed and when.
Step 5: keep the routine
- Update the sheet on the day a delivery is received, not at month end.
- Spread freight, duty and fees across the lines on each purchase order before you work out landed cost.
- Before each receipt, add a row for units sold since the last row, from your Shopify sales report by product variant.
- Once a quarter, check the sheet's on-hand figure against Shopify's inventory count. If they differ, record the adjustment as an "Event" row so the history stays complete.
This works well for up to a few dozen variants. Past that, the admin gets heavy, and one missed delivery throws the average off for months.
What to look for in a replacement
If you'd rather not run a spreadsheet, you need a Stocky alternative. Look for a tool that does what Stocky did for cost, not only what it did for purchase orders. Check these points before you choose:
- Weighted average recalculated on receiving. The average should update when stock arrives, using the same formula as above.
- Landed cost. It should fold freight, duty and fees into unit cost and let you see how they were split.
- Dated cost history. Every cost change should be stored with its date, so you can see what each cost was on any date and correct COGS if a cost was wrong.
- Writes back to Shopify, or explains why not. Either it keeps Cost per item up to date, or it keeps its own cost ledger and reports from that. Both work if you know which one is the source of truth.
- Imports your Stocky export. You shouldn't have to retype your opening averages.
- Choice of method. If you might need FIFO later, for dated stock or for your accountant, check it is supported before you commit.
- Exports. CSV export of costs and COGS by period, in a format your accountant can use.
Test any tool with one product and the numbers from your own spreadsheet. If it can't reproduce your average to the cent, keep looking.
Where CostSync fits
We are building CostSync for this gap: it tracks your product costs over time and works out COGS and margin for you. It is coming soon. The CostSync plans page lists what each plan includes.
Related articles
FIFO vs LIFO vs Weighted Average Cost on Shopify: Worked Examples
FIFO vs LIFO for ecommerce, worked through with numbers. One mug, three purchase lots, three months of sales, and the COGS, ending inventory and gross margin each method gives you on Shopify.
How to Calculate COGS on Shopify (Step by Step)
How to calculate cost of goods sold on Shopify, step by step: what goes into each unit's cost, where Cost per item lives, which Shopify reports add it up, and a worked month with example numbers.
Understanding COGS: A Complete Guide for Shopify Merchants
What cost of goods sold (COGS) really includes for a Shopify store, worked through with one hot sauce shop's numbers, and how a missing freight bill turns into fake profit.