What happens to past orders when you change a cost in Shopify
Shopify's profit reports use the cost that was recorded when each item sold. Changing cost per item today sets the cost for sales from now on. Sales made while a variant had no cost stay out of profit reports.
Updated
The rule
Shopify’s profit reports are built on the cost recorded at the moment an item was sold. The help center puts it this way: profit is reported only for products and variants that had cost recorded at the time they were sold. It also notes that cost per item is static, so the data in profit reports is only relevant to a specific point in time.
Three situations follow from that rule.
1. You change a cost that was already there
New sales use the new cost. Shopify’s documentation does not state in so many words what happens to the figures for earlier sales, but “recorded at the time they were sold” describes a value captured with the sale. Reports from merchants in Shopify’s community are not all consistent on this, so if a restated history would matter to you, change one variant and compare a past period’s report before and after.
Either way, the product itself keeps no trace of the old value. If you need to know what the cost was last quarter, you need your own record.
2. You add a cost where there was none
Sales made while the variant had no cost are not counted as pure profit. They are excluded: the finance summary shows them separately as net sales without cost recorded, and Shopify says this is why net sales in sales reports and in profit reports can differ. Shopify documents no way to backfill a cost onto those sales.
So the cost of a missing cost is permanent for the period it was missing. That is the argument for finding empty costs on a schedule and not at year end.
3. You entered a wrong cost and sold with it
The sales carry the wrong cost. Fix the field so future sales are right, then correct the period where it matters, which is your accounts:
- work out units sold in the affected period, from a sales by variant report;
- multiply by the difference between the wrong and right cost;
- post that adjustment to cost of goods sold with your accountant.
What Shopify suggests
Because the field is static, Shopify lists three options for profit reporting that follows cost over time: run financial reports in an ERP or accounting system, use a reporting app, or calculate costs and profit manually.
Keeping the record yourself
Whichever you choose, the input is the same: for each variant, what it cost and from what date. Cogsy keeps that as a dated cost history, including costs changed directly in the Shopify admin, which it records as they happen.
Questions
- If I add a cost today, will last month's orders show a profit?
- Shopify says profit is reported only for variants that had a cost recorded when they were sold, and it documents no way to add a cost to sales that have already happened. Plan on those orders staying in "net sales without cost recorded".
- I entered the wrong cost and sold 200 units. Can I fix those orders?
- Shopify documents no tool for editing the cost on past sales. Correct the cost per item now so new sales are right, and correct the affected period outside Shopify, in your accounting or a reporting app.
- Does a supplier price rise change the profit on orders I already shipped?
- It should not, and that is the point of recording cost at the time of sale. Those units were bought at the old price.
- Does Cogsy rewrite the cost on past orders?
- No. Cogsy does not edit orders. It keeps a dated record of what each variant cost, so you can look up the right figure for any past period.
Sources
Related
Guide
How to keep a cost history in ShopifyShopify keeps only the current cost per item. Three ways to keep a history of cost changes (exports, a spreadsheet or an app) and what a useful history records.
Guide
Why products are missing from Shopify profit reports, and how to find those with no costShopify leaves variants with no cost out of profit reports. How to see how much revenue is affected, and three ways to list every variant with no cost per item.
Feature
Dated cost historyEvery cost has a date it applies from. A change is a new row, never an overwrite.
Guide
Where to find cost of goods sold in ShopifyWhere Shopify reports cost of goods sold and gross profit, what those reports include and leave out, and how to check that the figure is complete.