How to Set Up WooCommerce Cost of Goods and See Profit
Three steps from no cost data to profit on every report — enable Cost of Goods, get your costs in, and read the numbers.
WooCommerce’s built-in WooCommerce cost of goods field is the foundation of profit reporting, but it does nothing on its own until two things happen: the feature is enabled, and your products actually have costs. This guide walks through both, then shows where profit appears once they’re done — using the free CodeAtoZ Profit Reports plugin and its setup wizard.
The whole point of building on WooCommerce cost of goods is that there’s one source of truth for cost. You set it once in WooCommerce, and every report reads from it — no second field to maintain. Here’s the three-step path.
Step 1: Enable WooCommerce Cost of Goods
Cost of Goods is a WooCommerce feature you switch on. The plugin’s skippable 3-step wizard checks your environment and offers to enable it for you with one click, so you don’t have to hunt through settings.
- Run the setup wizard — it confirms WooCommerce is present, the right version, and whether Cost of Goods is on.
- Enable it in one click if it isn’t already — the wizard does it for you.
- Land in the right place — the wizard points you straight at getting costs in, which is step two.
Once WooCommerce cost of goods is enabled, every product and variation gains a cost field, and WooCommerce starts snapshotting that cost onto each new order line. The WooCommerce product documentation covers where the field lives on a product.
Step 2: Get Your Costs Into WooCommerce Cost of Goods
An empty cost field reports no profit, so this is the step that matters most. The plugin gives you several ways to populate costs quickly, depending on where your data is:
| Tool | Use it when | What it does |
|---|---|---|
| Bulk cost editor | You’re starting from scratch | Spreadsheet-style grid to set costs across the whole catalogue, with search and category/type filters |
| “Cost = X% of price” | You have a rough blended margin | A mass action that sets cost to a percentage of each price as a starting point |
| Cost coverage meter | You want to track progress | Shows what percentage of your catalogue has a cost, with a one-click list of what’s missing |
| Migration importer | You used another cost plugin | Detects and copies cost data from other plugins into the core field |
| Historical backfill | You want past orders costed | Applies today’s costs to past orders in a date range, clearly labelled as an estimate |
The coverage meter is the fastest way to know you’re done: it tells you what share of your catalogue has a cost set and lists exactly what’s missing. Aim to get it high before trusting your margins — the more of your WooCommerce cost of goods data is filled in, the less revenue shows up as “unknown cost.”
Step 3: Read Your Profit
With costs in, profit appears across wp-admin. Here’s where to look first:
- Overview dashboard — your headline revenue, cost, gross profit and margin, with a trend and previous-period comparison.
- Profit by product and category — which lines actually make money, with variation drill-down.
- Losing Money report — anything priced at or below your margin threshold, worst first.
- Orders list — a profit column and per-order breakdown, so every sale shows its margin.
For the full tour of every report, see the WooCommerce profit report overview, and the profit margin guide for working the Losing Money report. This is the profit that WooCommerce Analytics doesn’t show, and it also feeds into Store Reports digests.
Migrating From Another Cost of Goods Plugin
If you already track costs in another plugin, you don’t start over. The migration importer is built to be completely non-destructive:
- It detects cost data from several popular Cost of Goods plugins automatically.
- It previews exactly what would change — zero writes until you confirm.
- It copies the data into WooCommerce’s own field, so you’re on the standard going forward.
- It never touches or deletes your other plugin’s data — you can roll back by simply not switching.
Always review the migration preview before confirming; it shows every change so there are no surprises.
Your WooCommerce Cost of Goods Checklist
- Install CodeAtoZ Profit Reports and run the setup wizard
- Enable WooCommerce Cost of Goods (one click in the wizard)
- Load costs with the bulk editor, or the “% of price” starter
- Migrate from an old cost plugin if you have one — preview first
- Backfill past orders if you want historical profit (labelled estimate)
- Push the coverage meter as high as you can
- Open the Overview dashboard and confirm the numbers look right
- Check the Losing Money report for below-cost products
Loading costs for a large catalogue is the one genuinely time-consuming part. If you’d rather hand it off, our WooCommerce team will set up WooCommerce cost of goods, load and verify your costs, and hand you a store where profit just works.
Frequently Asked Questions
How do I enable Cost of Goods in WooCommerce?
Cost of Goods is a WooCommerce feature you switch on. The easiest way is the CodeAtoZ Profit Reports setup wizard, which checks your environment and enables it for you in one click. Once on, every product and variation gets a cost field and WooCommerce snapshots that cost onto each new order line, ready for profit reporting.
How do I add product costs in WooCommerce quickly?
Use the bulk cost editor — a spreadsheet-style grid that lets you set costs across your whole catalogue with search and category filters, including a “set cost = X% of price” mass action for a quick starting point. The coverage meter then shows what percentage of products have a cost and lists what’s still missing, so you know when you’re done.
Can I import costs from another Cost of Goods plugin?
Yes. The migration importer detects cost data from several popular Cost of Goods plugins, shows a full preview of exactly what would change before writing anything, and copies the data into WooCommerce’s own cost field. It never touches or deletes your other plugin’s data, so the move is completely non-destructive and reversible.
Can I see profit for past WooCommerce orders?
Yes, using the historical backfill tool. It applies today’s product costs to past orders that don’t have a cost snapshot, for a date range you choose, and clearly labels the result as an estimate rather than recorded fact. Going forward, WooCommerce snapshots the real cost on each new order automatically, so new profit figures are exact.
What happens if some products have no cost set?
The reports stay honest about it. Any revenue from items sold without a recorded cost is shown separately as “unknown cost” and the rows are flagged, rather than being counted as 100% profit. The coverage meter helps you find and fill those gaps, so the more complete your Cost of Goods data, the more of your profit picture is measured rather than estimated.
Do I need to re-enter costs I already have in WooCommerce?
No. If your products already have costs in WooCommerce’s built-in Cost of Goods field, the plugin reads them directly — there’s nothing to re-enter, because it uses that same field rather than its own. You only need the bulk editor, migration or backfill tools for costs that aren’t in the core field yet.
Want your Cost of Goods set up and costs loaded?
Install the free plugin and follow this guide, or have our WooCommerce team enable Cost of Goods, load and verify your catalogue costs, and hand you working profit reports.