Skip to main content

Targeting costs with conditions

Use conditions to apply costs only to specific orders — by product, country, source, or value.

Written by Tina
Updated today

Most costs apply to every order, but some are specific — a subscription app fee only hits subscription orders, or a special insurance cost only applies to high-value orders. Setpilot lets you attach conditions to any cost so it only triggers when the order matches.

Available conditions

Condition

Options

Example use

Country

Any country code

Extra customs fee for EU orders only.

Sales source

Online, POS, Draft, Subscription

Subscription app fee on Recharge orders only.

Payment method

Any configured method

COD collection fee on COD orders only.

Order value

Greater than / less than amount

Premium insurance on orders over $500.

Product

Specific SKU or tag

Hazmat handling fee on battery products only.

Date range

Any start / end date

Temporary promotion during Black Friday week.

Adding a condition to a cost

  1. Open the cost in Costs Setup.

  2. Click Add condition.

  3. Pick the condition type and enter the value.

  4. Save. The cost will now only apply to orders that match.​

Stacking multiple conditions

Conditions are combined with AND logic. If you add both Country = US and Order value > $200, the cost applies only to US orders above $200.

For OR logic, create two separate cost entries — one for each rule.

Common patterns

  • Region-specific taxes or duties — country condition.

  • Subscription-only fees — sales source = Subscription.

  • Wholesale discounts — sales source = Draft (if you use draft orders for B2B).

  • Product-specific handling — product tag or SKU condition.

  • High-value insurance — order value condition.

Verifying a condition is matching correctly

Open any order on the Orders page and inspect its cost breakdown. Each cost line shows which costs were applied and why. If a conditional cost is not landing as expected, check:

  • The condition values are spelled exactly right (country codes, tag names).

  • The cost effective date includes the order date.

  • No stricter condition is blocking it on that order.

Did this answer your question?