Why is a product missing from the valuation?
It is not counting its stock. Edit the product, open Inventory, tick Track stock quantity for this product and enter a quantity. A product that does not manage stock has no quantity, so there is nothing to value.
A product that manages stock but has an empty quantity box is skipped for the same reason. Drafts and private products are not read either: only published products are valued.
My variable product's stock is not counted
The valuation reads every published product and variation that has Manage stock switched on, so either way of tracking a variable product's stock is counted:
- If you track stock on the parent product (Inventory tab of the variable product), it is counted once, at the parent's cost and price. Full edition: a sale of any of its variations counts as a sale of the parent for stock aging.
- If you track stock on each variation, each one is its own row, at its own cost — or its parent's, when it has none.
If a product is still missing, check that its stock quantity is filled in and that it is published.
Why does the cost total look low?
Because some products have no cost recorded. The screen says how many, how many units and what they are worth at retail. They are deliberately not counted at nought: that would make the stock look cheaper and the margin look better than they are.
Should I type 0 for products I do not know the cost of?
No. Leave the box empty. Empty means unknown; 0 means the product costs you nothing, and it is then valued at nothing and counted in the margin as pure profit.
A variation's cost does not save
A variation's Cost per unit is saved when WooCommerce saves the variations, through WooCommerce's own security check for that save. If one still does not stick, check that you can edit the product, then set the cost on the parent product: a variation with no cost of its own uses its parent's.
I already use Gatemi Profit Reports or Gatemi Cost of Goods
Your costs are already here. All of them read and write the same product meta, _gmcg_cost, so a cost typed in any of them is the cost every one uses.
What price is "Value at retail" based on?
Each product's current price as WooCommerce reports it — the sale price while a sale is running. It is what you are asking for the stock today.
The numbers say "the figures above cover the first of them"
The valuation reads at most 20,000 counted products per screen load. A shop with more sees that line. Developers can raise the limit with the gmsvf_ceiling / gmsv_ceiling filter.
Is the report slow on a big shop?
It reads only products that manage stock, 200 at a time, every time you open the screen. The full edition's aging also reads the orders in the look-back window, 200 at a time. On a very large shop, shorten How far back the aging pass looks if the screen is slow to open.
A product shows "never sold" but I know it sold — Full edition
Its last sale is older than How far back the aging pass looks, or the order is in a status not listed in Order statuses that count as a sale. Lengthen the look-back or add the status.
Does it change anything on my storefront?
No. Neither edition wires a storefront hook or loads anything for shoppers.
Moving from the free edition to the full edition
Nothing to move. The full edition reads the same _gmcg_cost meta and the same gmsv_settings option. Install and activate it, then deactivate the free edition. Your list length carries over; the aging statuses and look-back start at their defaults unless you had set them before.
What happens when I uninstall?
- Free edition: removes
gmsv_settingsonly if the full edition has never been activated on the site. It never deletes a cost. - Full edition: removes
gmsv_settings, its licence state, cached update data and the licence check event. It never deletes a cost.
Costs are facts about your products, shared with other Gatemi plugins, so neither edition removes them.
