| 开发者 | Pluginivo |
|---|---|
| 更新时间 | 2026年9月30日 21:01 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL v2 or later |
| 版权网址: | 版权信息 |
order-profit-calculator folder to /wp-content/plugins/ (or install through Plugins > Add New > Upload Plugin if you have a .zip).No. The cost price used for an order is frozen at the time the order is placed, exactly like WooCommerce freezes the product price on the order itself. Use the "Recalculate" link on an individual order if you need to correct a mistake.
The order still shows a profit box, with a note listing which product(s) are missing a cost price and a link to set it. The margin is marked as partial until it's filled in.
Cost of goods is reduced for the quantity actually refunded (using WooCommerce's own refund records), but the payment processor fee and shipping cost are not -- processors generally keep their fee on a refund, and shipping you already paid for doesn't come back. A fully refunded order shows as a loss (the fee and shipping cost, with nothing recovered), not as a $0 wash.
Cost prices are entered in your store's own currency. If an order was placed in a different currency (via a multi-currency plugin), the order is flagged with a warning rather than silently converting it -- WooCommerce itself doesn't provide a reliable historical exchange rate, so an automatic conversion would risk being confidently wrong. You can still see the figures; just double-check them for orders in a different currency.
Yes. Order Profit Calculator declares HPOS compatibility and reads/writes order data exclusively through WooCommerce's own CRUD API, so it works whether your store has HPOS enabled or is still on the legacy post-based order storage.
Not in v1. Per-gateway and per-shipping-method overrides (pro) are set once per method type (e.g. one rate for "Flat rate"), not per zone. If you run "Flat rate" at different costs in different shipping zones, the override applies the same figure everywhere that method is used. This only affects the pro per-method override table -- the flat default fee/shipping estimate always works regardless of zones.