Title: Merchgain &#8211; Profit &amp; Margin Reports for WooCommerce
Author: baltano
Published: <strong>8 de Setembro, 2026</strong>
Last modified: 8 de Setembro, 2026

---

Buscar plugins

![](https://ps.w.org/merchgain/assets/banner-772x250.png?rev=3686878)

![](https://ps.w.org/merchgain/assets/icon.svg?rev=3686878)

# Merchgain – Profit & Margin Reports for WooCommerce

 Por [baltano](https://profiles.wordpress.org/baltano/)

[Descargar](https://downloads.wordpress.org/plugin/merchgain.0.2.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/merchgain/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/merchgain/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/merchgain/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/merchgain/#developers)

 [Soporte](https://wordpress.org/support/plugin/merchgain/)

## Descrición

WooCommerce tells you what you sold. It does not tell you what you earned.

Since WooCommerce 10.3 the cost of goods sold lives in the core product editor, 
and every order
 records the cost at the moment of sale. Merchgain reads that field
and answers the question the sales report cannot: how much of this revenue is actually
yours. It is a WooCommerce profit report built on data your store already has – 
no import, no second place to keep costs.

It only reads. No product, no price, no order, no cost value is ever written back
to your store.

#### What you get

 * **Summary cards** – revenue, cost of goods, gross profit and margin for the period
   you pick.
 * **Profit per product** – sortable, searchable, paginated.
 * **Profit per category** – the same sales grouped by product category. A product
   that sits
    in several categories counts in each of them, so category totals can
   add up to more than the summary – the screen and the CSV file both say so.
 * **Missing cost warning** – how many products have no cost recorded, with links
   straight to
    the products, and how much of your revenue that leaves uncovered.
 * **CSV export** – the current view, exactly as you see it on screen. Very large
   reports are
    capped at 20,000 rows and the file says so on its last line, so 
   a short file is never a silent one – and a category export that adds up to more
   than the summary says why.
 * **Foreign currency warning** – orders in a currency other than your store currency
   are named
    and left out, instead of being quietly added into one wrong total.

#### What makes it different

 * **CSV export in the free version.** Not behind an upgrade.
 * **The missing cost warning is a feature, not an upsell.** You see coverage next
   to every
    number, so you always know how much of the report rests on real data.
 * **Works without WooCommerce Analytics.** Merchgain runs its own queries against
   the order
    tables, so it does not require the Analytics module to be enabled.
 * **Nothing leaves your server.** No account, no external service, no telemetry,
   no calls home.
    The report is calculated on your hosting and stays there.

#### How the numbers are calculated

This is a cost of goods sold report, so every number below rests on the cost recorded
at the
 moment of sale – not on a current price list.

Revenue is the net line total of sold items after discounts, excluding tax and shipping.
Refunds
 count as negative amounts in the period they were issued, not in the period
of the original sale. Orders counted by default: completed, processing and refunded.

Margin is profit divided by revenue – not markup on cost. A product bought for 60
and sold for
 100 has a 40% margin here. That single distinction is what separates
a profit margin report from a sales report.

Profit and margin are calculated only on items whose cost is known. An item with
no cost recorded
 still counts towards revenue, but it is never treated as if it
had cost zero – the report says so instead of quietly inflating your margin.

Documentation and answers: https://merchgain.com/

From the makers of Merchlint.

## Capturas

[⌊Summary cards with the coverage line, and profit per product.⌉⌊Summary cards with
the coverage line, and profit per product.⌉[

Summary cards with the coverage line, and profit per product.

[⌊Profit per category.⌉⌊Profit per category.⌉[

Profit per category.

[⌊The missing cost warning, with links straight to the products.⌉⌊The missing cost
warning, with links straight to the products.⌉[

The missing cost warning, with links straight to the products.

[⌊Onboarding shown when the Cost of Goods Sold feature is still off.⌉⌊Onboarding
shown when the Cost of Goods Sold feature is still off.⌉[

Onboarding shown when the Cost of Goods Sold feature is still off.

## Instalación

 1. Install and activate the plugin. WooCommerce 10.3 or newer is required.
 2. Go to WooCommerce -> Settings -> Advanced -> Features and switch on “Cost of Goods
    Sold”.
 3. Fill in the cost on your products – the field is in the General tab of the product
    editor.
 4. Open “Profit & margin” in the admin menu – its own item, just below the WooCommerce
    block.

New orders record the product cost at the moment of sale, so the report starts filling
up from the point where costs are in place.

## Preguntas frecuentes

### How is margin calculated?

Profit divided by revenue. A product bought for 60 and sold for 100 gives 40 profit
and a 40%
 margin. This is not markup on cost, which for the same product would 
be 66.7%. The two get mixed up often, so the definition is printed under the report
as well.

Longer answer: https://merchgain.com/r/MARGIN/

### Where do the costs come from?

From the Cost of Goods Sold field built into WooCommerce 10.3 and newer. Merchgain
does not store
 costs of its own and does not add a second cost field to your products.

Longer answer: https://merchgain.com/r/COGS/

### Does any data leave my server?

No. Merchgain makes no outgoing connections at all – no analytics, no licence check,
no update
 ping of its own. Everything is calculated by your own database and displayed
in your own admin.

### What about orders placed before I filled in the costs?

They have no cost recorded, and Merchgain reports them as “no cost data” rather 
than as a cost of
 zero. Their revenue still counts; they are simply left out of
profit and margin, and the coverage line tells you how much of your revenue that
is.

Longer answer: https://merchgain.com/r/FILL/

### My product genuinely costs zero and it shows up as missing a cost. Why?

Because WooCommerce cannot tell the two apart. Saving a cost of zero – on the product
or on an
 order item – makes the core store nothing at all rather than a zero, so“
cost of zero” and “no cost entered” end up identical in the database. Rather than
guess, Merchgain always says “no cost data” and never “cost 0”. Free samples, giveaways
and downloadable extras will therefore appear on the missing cost list.

Longer answer: https://merchgain.com/r/ZERO/

### I issued a refund and my historical profit changed. Why?

That is WooCommerce, not Merchgain. Creating a refund makes the core recalculate
the cost of every
 item on the parent order using the product’s cost _as it is today_.
If the product cost changed in the meantime, the stored history changes with it.
Merchgain reports what is in the database; it does not silently keep a second copy.

Longer answer: https://merchgain.com/r/REWRITE/

### Which month does a refund belong to?

The month the refund was issued, not the month of the original sale. A September
sale refunded in
 November leaves September untouched and shows as a negative amount
in November. Reports of closed months do not change behind your back.

Longer answer: https://merchgain.com/r/REFUND/

### I have orders in euros and dollars. What happens to them?

They are left out of the report and named in a warning above the numbers. Merchgain
does not
 convert exchange rates, and adding several currencies into one total would
produce a number that looks right and is not.

Longer answer: https://merchgain.com/r/CURR/

### I keep my costs in WPFactory Cost of Goods. Why does Merchgain show them as missing?

Because those costs live in that plugin’s own meta fields, not in the WooCommerce
core field.
 Merchgain deliberately does not read other plugins’ data. Moving the
values into the core field is on the roadmap as an optional, preview-first import.

Longer answer: https://merchgain.com/r/OTHER/

### Does it work with High-Performance Order Storage?

Yes, and with the classic post-based storage as well. Cost values live in the order
items table,
 which is the same in both layouts.

Longer answer: https://merchgain.com/r/HPOS/

### Which orders are counted?

Completed, processing and refunded. Refunded is in the list on purpose: a full refund
flips the
 parent order to that status, and leaving it out would make a fully refunded
order count as minus its own value instead of zero. WooCommerce Analytics excludes
only pending, failed and cancelled by default, so this set is one status narrower–
it skips on-hold.

Longer answer: https://merchgain.com/r/STAT/

### My category totals add up to more than the summary card. Why?

Because a product that sits in several categories is counted in each of them. A 
mug in both
 “Kitchen” and “Gifts” adds its sales to both rows, so the rows add 
up to more than the store actually sold. The alternative – picking one category 
and dropping the sale from the other – would quietly understate every shared category,
which is worse. The summary cards are counted from the order items themselves, so
they are never double counted. The screen says this under the table, and a CSV export
of the category view says it on the last line, with both numbers.

Longer answer: https://merchgain.com/r/CAT/

### How much history does the report cover?

All of it. There is no date limit. Any range can be selected, including a single
month from
 years back; profit and margin appear wherever a cost was recorded on
the sold item.

### Does it slow my store down?

The report runs in the admin only, never on the storefront, and results are cached
for an hour.
 Entering a cost in the product editor clears that cache immediately,
so the numbers never wait for a timer. For anything else that changes the figures–
an order status, a refund issued elsewhere, an import – there is a “Recalculate”
button next to the export.

### Who can see the report?

Anyone with the “view WooCommerce reports” capability, which is the same permission
WooCommerce
 uses for its own sales reports. A shop manager has it, and so does 
a bookkeeper account limited to reports only. The report has its own item in the
admin menu, “Profit & margin”, sitting just below the WooCommerce block – not inside
the WooCommerce submenu, where an account limited to reports would never see it:
that submenu needs a permission such an account does not have.

Longer answer: https://merchgain.com/r/PERM/

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Merchgain – Profit & Margin Reports for WooCommerce” é un software de código aberto.
As seguintes persoas colaboraron con este plugin.

Colaboradores

 *   [ baltano ](https://profiles.wordpress.org/baltano/)

[Traduce “Merchgain – Profit & Margin Reports for WooCommerce” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/merchgain)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/merchgain/), bota unha
ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/merchgain/), ou subscríbete
ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/merchgain/) por
[RSS](https://plugins.trac.wordpress.org/log/merchgain/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 0.2.0

 * First public release. Versions 0.1.0 and 0.1.1 were review builds submitted to
   the plugin
    directory and were never published, so this is the first version 
   anyone can install. The code is the one that passed review; only the version 
   number changed.

#### 0.1.1

 * The report no longer limits how far back it reaches. The 365-day window is gone
   from the
    code entirely, along with the notice that explained it.

#### 0.1.0

 * First working version: summary cards, profit per product and per category, missing
   cost
    warning, CSV export, foreign currency warning, onboarding, cached results
   with a Recalculate button.

## Meta

 *  Versión **0.2.0**
 *  Última actualización **Fai 5 horas**
 *  Instalacións activas **Menos de 10**
 *  Versión de WordPress ** 6.7 ou superior **
 *  Probado ata **7.1**
 *  Versión de PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/merchgain/)
 * Etiquetas
 * [COGS](https://gl.wordpress.org/plugins/tags/cogs/)[cost of goods](https://gl.wordpress.org/plugins/tags/cost-of-goods/)
   [margin](https://gl.wordpress.org/plugins/tags/margin/)[profit](https://gl.wordpress.org/plugins/tags/profit/)
   [reports](https://gl.wordpress.org/plugins/tags/reports/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/merchgain/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[A túa valoración](https://wordpress.org/support/plugin/merchgain/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/merchgain/reviews/)

## Colaboradores

 *   [ baltano ](https://profiles.wordpress.org/baltano/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/merchgain/)