| 开发者 | caltru |
|---|---|
| 更新时间 | 2026年10月23日 18:02 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
No. That is the one thing this plugin exists to prevent. The cost is recorded against the order line when the order is placed, and nothing later rewrites it.
Tools → Record past orders will go through them. They are costed at the prices you have entered now, and marked as estimates so you can tell them apart from figures recorded at the time of sale. Anything another cost plugin recorded back then is used instead, and preferred.
Two reasons, both deliberate. Analytics counts an order on the date it was paid and leaves out orders that are not paid yet; this plugin can count those on their creation date instead, which suits shops taking bank transfers. And refunds here land on the refund's own date rather than the original order's.
This plugin stores costs in WooCommerce's own field rather than a copy of its own, and WooCommerce ignores that field while the feature is off. So activation turns it on, once. Costs you enter stay with your products if you ever remove this plugin.
Yes. The whole test suite runs against both order storages.
WooCommerce reports sales, not profit. Net profit is what is left of revenue after refunds, the cost of the goods, what the carrier charged you and what the payment gateway took — plus whatever customers paid you for delivery. This plugin records each of those per order, at the time of the sale, and adds them up per day: enter your product costs, and under Settings what each delivery method and payment method costs you, and the dashboard shows net profit beside gross.
It uses it. Since 9.5 WooCommerce can store a cost on each product, and this plugin keeps costs there and nowhere else, so you enter a cost once. What WooCommerce does not do is remember: it works an order's cost out again from today's product cost whenever the order is recalculated, and it has no profit reports. This plugin records the cost at the moment of each sale, hands that historical figure back to WooCommerce, and builds the reports, net profit and the gap-finding around it.
Under Caltru Ledger → Settings → Shipping and payment costs, enter what the carrier charges you per parcel for each delivery method (LP Express, Omniva, DPD, Venipak and others are recognised by name), and what each payment method takes. Leave a box empty for "not known" — those orders are reported as unpriced, never as free — and type 0 for a method that genuinely costs you nothing. New orders are priced as they are placed; Tools → Price past orders applies the same costs to orders placed before, marked as estimates.
Not unless you ask to. Product costs live in WooCommerce and are never removed. The recorded history — what each past sale cost — is kept on uninstall too, unless you switch on Settings → Data → "Delete all plugin data on uninstall" first. Deactivating the plugin removes nothing.
No. There is no telemetry, no licence check and no outbound request of any kind. There is a test asserting that.