Skip to main content

Checkout Fees

Checkout Fees allow you to add dynamic charges at checkout based on conditional logic.

Creating a Checkout Fee

  1. Go to WooCommerce → PredictCart → Rules
  2. Click Add New Rule
  3. Set Rule Type to Checkout Fee
  4. Configure the fee:
FieldDescription
Methodfee (fixed fee) or percentage (percentage of cart total)
ValueThe fee amount (e.g., 2.50 for fixed, 5 for 5%)
Fee NameThe label shown to the customer (e.g., "Small Order Fee")
  1. Add conditions to determine when the fee applies
  2. Save the rule

Use Cases

Use CaseConfiguration
Small Order FeeApply a $2 fee when cart total < $10
Late Hour SurchargeApply a 5% fee between 10 PM and 6 AM
Payment Method FeeApply a fee for specific payment gateways (via conditions)
Regional SurchargeApply a fee for specific shipping zones or countries

How Checkout Fees Work

  • Applied via woocommerce_cart_calculate_fees, after cart discounts
  • Shown as a positive fee line item in the checkout
  • Taxable or non-taxable based on WooCommerce fee settings
  • Multiple fee rules can stack (each adds its own fee line)