Gatemi Profit Reports FAQ and Troubleshooting

The report says many order lines have no cost recorded

Those lines were sold while their product had no cost — usually orders placed before you installed the plugin or before you filled the costs in. The cost is copied onto a line when the order is placed and is never added later, so those orders stay "unknown". Run the report for a range that starts after you entered your costs.

I changed a cost and the report did not move

That is the plugin working. Past orders keep the cost they were sold at. Only orders placed after the change use the new cost.

Can I add costs to orders that were placed before?

Not from the plugin's screens. Each order line's frozen cost is the order item meta _gmcg_cost; a developer can write it for past lines — see the developer reference.

I cannot see the Cost of goods field on a variable product

Free edition: the field is on the General tab of a simple, external or variable product; on a variable product every variation uses that one cost. Full edition: the product's own field sits in WooCommerce's pricing group, which WooCommerce hides on variable products unless its own cost-of-goods feature is switched on — give each variation its cost under the variation's price instead.

Does a refund change the profit?

Yes. A refunded amount comes off the line's revenue, and refunded units take their cost back with them.

Is tax included?

Never. Revenue is the line total before tax. Full edition: shipping is included only if Revenue is says so.

A product shows a huge profit in the breakdown

It should not any more: a product's profit is measured over the lines that have a cost, so revenue with no cost behind it is never counted as profit. A product with no costed line at all shows Unknown — no cost set and sorts to the bottom. Full edition: rows with uncosted lines are highlighted and the CSV has a Lines with no cost column (an unknown profit is an empty cell there).

Which orders count?

Free edition: processing and completed. Full edition: the statuses in Order statuses that count as a sale. Refunded, cancelled, failed and pending orders are left out unless you list them.

Does it work with the block checkout and HPOS?

Yes. Costs are written as WooCommerce creates the order lines, which happens the same way for the classic and the block checkout. Order data is read and written through WooCommerce's own objects, so HPOS and the legacy order store both work. Full edition: the Profit box appears on both order screens.

Is the report slow on a big shop?

Orders are read a hundred at a time (Full edition: the gmcg_report_batch filter changes that), so memory stays flat. A range of many thousands of orders takes longer to load; pick a shorter range for a quick look.

Do other Gatemi plugins use the same cost?

Yes. The cost lives in _gmcg_cost, which Gatemi Stock Valuation and its free edition read too, so a cost typed once is used everywhere.

Moving from the free edition to the full edition

Install and activate the full edition; the free edition stands down. Both use gmcg_settings, _gmcg_cost on products and order lines, and _gmcg_extra on orders, so every cost and every past report carries over — the first report you run covers everything you already sold.

What does uninstalling remove?

  • Free edition: deletes gmcg_settings, only when the full edition has never been licensed on this site (no gmcg_license).
  • Full edition: deletes gmcg_settings, gmcg_license, the cached update data and the licence-check cron event.
  • Neither removes a cost — not from a product, not from an order line, not the extra on an order — so reinstalling picks up your history where it was.
Shopping Cart
Scroll to Top