Cart, checkout and order
Matching fees are added to the WooCommerce cart using the standard fee mechanism (the woocommerce_cart_calculate_fees hook). The label you entered is shown in the cart and checkout totals, and the fees are saved as fee lines on the order.



- Works with the classic checkout and the block-based Cart and Checkout. In block checkout the fee follows payment method changes live.
- If several rules match, each fee is added as its own line.
- If two matching rules have the same label, the later ones are numbered automatically, for example "Handling fee" and "Handling fee (2)". WooCommerce would otherwise ignore the duplicate.
- Rules are applied in the order they were created.
- Only enabled rules are used.