Skip to content
Sign in
CodeAtoZ Profit Reports for WooCommerce icon

CodeAtoZ Profit Reports for WooCommerce

The missing profit reports for WooCommerce's built-in Cost of Goods — margins, best & worst sellers, inventory value, and profit emails.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

WooCommerce added a built-in Cost of Goods Sold (COGS) field so you can record what each product actually costs you. What it doesn’t add is anywhere to see the profit that comes from it — no margin reports, no best/worst sellers, no dashboard, nothing in WooCommerce Analytics.

CodeAtoZ Profit Reports for WooCommerce is the missing layer. It reads and writes only WooCommerce’s own Cost of Goods field — it never invents a second, competing cost field — and turns that data into a full set of profit reports, right inside WooCommerce.

Why this plugin exists

  • WooCommerce core now lets you store a cost per product and variation, and it snapshots that cost on every order line item.
  • Core does not calculate or display profit anywhere from that data.
  • This plugin is purely the reporting layer on top: it never touches your prices, your checkout, or anything a customer sees.

Get your cost data in

  • Bulk cost editor — a fast, spreadsheet-style grid to set costs across your whole catalog, with search, category/type filters, and a “set cost = X% of price” mass action.
  • Cost coverage meter — always know what percentage of your catalog has a cost set, with a one-click list of what’s missing.
  • Migration importer — already using another Cost of Goods plugin? Detect its data, preview exactly what would change (zero writes until you confirm), and copy it into WooCommerce’s own field. Your other plugin’s data is never touched or deleted.
  • Historical backfill — apply today’s product costs to past orders that don’t have a cost snapshot yet, for a chosen date range, as a clearly-labeled estimate.
  • Setup wizard — a skippable, 3-step wizard that checks your environment, offers to enable WooCommerce’s Cost of Goods feature with one click, and gets you to the right starting point.

See profit everywhere

  • Overview dashboard — revenue, cost, gross profit and margin for today, 7 days, 30 days or a custom range, each with a previous-period comparison and a trend chart.
  • Profit by product, broken down to individual variations, sortable and exportable.
  • Profit by category.
  • Losing Money report — the products selling at or below your margin threshold, worst first, so you can fix pricing before it costs you more.
  • Inventory valuation — how much capital is tied up in stock, at cost and at retail.
  • Top customers by profit — not just top spenders.
  • Profit column on the WooCommerce Orders list (HPOS and legacy), and a full line-item profit breakdown on every order.
  • CSV export on every report.
  • Dashboard widget with this week’s numbers at a glance.

Push it proactively

  • Weekly profit email — optional, off by default, sent only to the addresses you configure.
  • Margin drop alert — optional, off by default, warns you if your trailing 7-day margin drops below a threshold you set, at most once a week.

Honest numbers

If an order line item has no recorded cost, this plugin never treats it as 100% margin and never silently folds it into your profit figures. Revenue totals still include that sale, but profit and margin are calculated only from revenue whose cost is known. Every report shows a separate “revenue with unknown cost” figure and flags the affected rows, so you always know exactly how much of your profit picture is estimated versus known.

Privacy

This plugin sends no data to any external service. It makes no external HTTP requests, has no telemetry, and pings no update servers beyond WordPress’s own plugin update check. Email reports are entirely optional, off by default, and sent only to the email addresses you configure using WordPress’s own mail system.

The Top Customers report shows customer names, emails and order history drawn from your existing WooCommerce order data — no new customer data is collected. Like every screen in this plugin, it’s visible only to users with the manage_woocommerce capability (store managers and administrators).

Disclaimer

Reports and exports from this plugin are for informational purposes only and are not accounting or tax advice. Please consult your accountant for tax reporting.

Credits

Charts are rendered with Chart.js v4.5.1 (MIT license), bundled locally with this plugin — nothing is loaded from a CDN.

Written by Joobi from the project's own listing. See the source page

analyticscost of goodsprofitreportswoocommerce
30 Nov 2026
Version 1.0.5 released. Not scanned yet.

1.0.5

  • Fix: items sold without a recorded cost no longer count as pure profit. Profit and margin now use only revenue with a known cost, as the reports and this readme describe; the separate “revenue with unknown cost” figure is unchanged.
  • Fix: a malformed custom date range in a report URL or CSV link no longer causes a fatal error; it falls back to the last 30 days.
  • Fix: the Inventory Valuation CSV export now includes stock-managed variations, matching the Valuation screen.
  • Removed a Settings hint that referred to a CodeAtoZ Store Reports digest option that doesn’t exist yet.
  • Tested with WordPress 7.2 and WooCommerce 11.3.

1.0.4

  • Add request-scoped object caching around the plugin’s four direct database queries, with correct cache invalidation on write. The queries themselves remain (there’s no WordPress API for the specific data they read), but they no longer run more than once per unique lookup per request.

1.0.3

  • Escape every helper/callback return value at the point it’s echoed (wp_kses_post()), instead of relying on the helper having already escaped internally, per WordPress.org’s “escape late” guidance.

1.0.2

  • Escaped a client-side migration-preview table that built HTML from a legacy plugin’s product names without escaping (found via manual code audit, verified with a real script-injection product name — no actual output changes for normal names).
  • Updated the bundled Chart.js from 4.4.4 to 4.5.1.
  • Removed a broken Plugin URI header pointing to a page that doesn’t exist yet.

1.0.1

  • Sanitize a few settings/bulk-editor inputs directly at the point of use, in addition to the existing internal sanitization, per WordPress.org Plugin Check.
  • Remove the now-unnecessary load_plugin_textdomain() call (WordPress.org auto-loads translations for hosted plugins).
  • Document/justify the plugin’s direct database queries (no core API covers this data) and prefix uninstall.php’s global-scope variables.

1.0.0

Initial release.

  • Get cost data in: bulk cost editor, coverage meter, migration importer for legacy Cost of Goods plugins, historical backfill, and a guided setup wizard.
  • Compute profit correctly: refund-aware, line-item-level profit math with a configurable order-status filter and honest handling of items with no recorded cost.
  • See it everywhere: Overview dashboard, profit by product/category, Losing Money report, inventory valuation, top customers by profit, an orders-list profit column, a per-order profit breakdown, and CSV export on every report.
  • Push it proactively: an optional weekly profit email, an optional margin-drop alert, a wp-admin dashboard widget, and an integration with CodeAtoZ Store Reports.
30 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)