Skip to content
Statnav logo
BUILD YOUR COST PICTURE

Add extra costs and use custom fields

Use Extra for order-level costs such as handling, and External when your WooCommerce data already contains cost values you want Statnav to read.

5 min read

Add an extra order cost

Open Costs → Extra to configure a general cost and, if needed, additional conditional costs. A conditional rule combines a cost with order filters, so you can model a charge that applies only to matching orders.

  1. Add a conditional cost, name it and enter a fixed amount or percentage.
  2. Add at least one complete order filter describing when it applies.
  3. Save the rule and then save your changes to the Costs section.
Extra costs screen including conditional cost rules
Add an extra cost or a conditional rule for matching orders.

Use WooCommerce custom fields

In Costs → External, enter the relevant meta keys for a total cost or individual cost components, such as product, shipping or transaction costs. These are field keys from your source data, not the displayed field labels.

A valid total-cost field takes precedence for the order; component fields can describe its breakdown. Check the keys and values on a few orders to avoid double-counting or missing costs.

External costs settings with WooCommerce custom field keys
Map existing WooCommerce cost fields by their meta keys.

Check historical application

The existing-orders option controls whether revised order rules are applied to past orders. Review it each time you save. If required source values are missing or cannot be converted, affected cost or profit figures may be unavailable.