Skip to content
Statnav logo
BUILD YOUR COST PICTURE

Set product, shipping and transaction costs

Enter the costs you know to make profit more useful. Start with product costs, then add shipping and payment costs that apply to your orders.

7 min read

Set product and variation costs

A variation rule takes precedence over its parent product rule. Use consistent units: a fixed product cost is applied per quantity sold.

  1. Open Costs → Products and search for a product.
  2. Choose a fixed amount per item or a percentage of its sale amount and enter the cost.
  3. Open Variations to set a different cost for a particular variation where needed.
  4. Select Save Changes.
Product cost table with fixed and percentage choices
Choose a fixed amount or percentage for each product.
Variation cost table showing product variation rules
Use variation costs where a variant needs a different rule.

Set shipping costs

In Shipping, configure a country or shipping-method rule and a backup for orders without a matching rule. A rule can use a fixed or weight-based amount, a share of shipping charged, and handling. A custom field can supply a source value when configured.

If a weight-based rule needs a product weight that is missing, the affected cost may be unavailable. Check your WooCommerce weight units and product data.

Shipping costs screen showing matching rules and backup costs
Shipping costs can use matching rules and a backup.

Set payment gateway costs

In Transactions, configure the fixed and percentage costs for the payment methods you use. Where an appropriate WooCommerce custom field contains the actual fee, you can use its key instead of relying only on an estimate. Verify a few orders against your payment provider.

Transaction costs screen with payment gateway cost rules
Configure payment costs for the gateways used by your store.

Decide when changes apply

Before saving, review Apply these rules to existing orders too. Select it when the new order rules should also be used for historical orders; otherwise the rules apply to new orders. Save the changes and check representative orders. Operational schedules use their own dates.

Configured costs are estimates unless backed by accurate source values. They do not alter the underlying WooCommerce order.